Last active
September 26, 2018 14:39
-
-
Save mikolajpe/904df884d3933604cbb02e58fb89a81c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for mac | |
docker run -it -v $PWD:/app -w /app composer:1.7 require "codeception/codeception" --dev | |
docker run -it -v $PWD:/app -w /app php:7.2-alpine ./vendor/bin/codecept init api | |
# Use the following answers. Important! There is no trailing slash! | |
# > ? Where tests will be stored? (tests) tests/api | |
# > ? Start url for tests (http://localhost/api) http://localhost | |
# or alternatively if you are not yet fun of docker | |
# composer require "codeception/codeception" --dev | |
# ./vendor/bin/codecept init api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment