Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mikolajprzybysz
Created September 23, 2018 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikolajprzybysz/af889434a55205c1482758fe9a742366 to your computer and use it in GitHub Desktop.
Save mikolajprzybysz/af889434a55205c1482758fe9a742366 to your computer and use it in GitHub Desktop.
#!/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