Examples from my OCPHP talk on unit testing
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/CentralDesktop/OCPHP
test
.gitignore
LICENSE
OCPHP-UnitTesting.pdf
README.md
composer.json
phpunit.xml

README.md

ocphp-examples

Examples from my OCPHP talk on unit testing

License: Apache

To run unit tests:

composer install # (or composer update)
vendor/bin/phpunit

To get coverage report

vendor/bin/phpunit --coverage-html ./report

open report/index.html in your browser