Skip to content

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

Notifications You must be signed in to change notification settings

m-develops/phpunit-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%