Hi guys, I have scraped all(not all till now, but going to be :) ) the examples from the Phpunit documentation website (http://phpunit.de/manual/3.8/en/index.html) and put it into a executable php tests. The idea is that you learn fast when you see something working. I will keep on improving this. Have fun
- cd to project folder
- Give executable permission to phpunit eg $ chmod aug+x ./bin/phpunit
- Run the test by $ ./bin/phpunit --color
- For example $ ./bin/phpunit --color 01StackTest.php
Also do fork the project and improve it in any way you want.
If you see any mistake please file the issue here https://github.com/the-crucible/phpunit-examples/issues