julpar / phpunit-examples

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 somethig working. I will keep on improving this. Have fun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phpunit-examples

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

Instructions to use it

  1. cd to project folder
  2. Give executable permission to phpunit eg $ chmod aug+x ./bin/phpunit
  3. Run the test by $ ./bin/phpunit --color
  4. 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

About

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 somethig working. I will keep on improving this. Have fun

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%