Skip to content

Instantly share code, notes, and snippets.

@mosbth
Created October 10, 2017 12:46
Show Gist options
  • Save mosbth/b05cad88c098842032b39449c47b05ab to your computer and use it in GitHub Desktop.
Save mosbth/b05cad88c098842032b39449c47b05ab to your computer and use it in GitHub Desktop.
---> Prepare for tests and build 
[ -d .bin ] || mkdir .bin
[ -d build ] || mkdir build
rm -rf build/*
---> Run unit tests for PHP. 
.bin/phpunit --configuration .phpunit.xml
PHPUnit 5.7.9 by Sebastian Bergmann and contributors.
... 3 / 3 (100%)
Time: 220 ms, Memory: 23.00MB
OK (3 tests, 3 assertions)
Generating code coverage report in Clover XML format ... done
Generating code coverage report in HTML format ... done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment