Created
September 23, 2018 23:06
-
-
Save mikolajpe/af889434a55205c1482758fe9a742366 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/bash env | |
# for mac | |
docker network create testnet | |
docker run -d -p 8080:8080 --net testnet --name wiremock -v $PWD/tests/wiremock/mappings:/wiremock/mappings ekino/wiremock:2.7.1 | |
docker run -it -v $PWD:/app -w /app --net testnet php:7.2-alpine ./vendor/bin/codecept run | |
# Codeception PHP Testing Framework v2.4.5 | |
# Powered by PHPUnit 7.3.5 by Sebastian Bergmann and contributors. | |
# | |
# Api Tests (1) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
# ✔ ApiCest: Try api (0.42s) | |
# ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
# | |
# | |
# Time: 1.63 seconds, Memory: 10.00MB | |
# | |
# OK (1 test, 3 assertions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment