phpunit-sample phpunit test example and basic implementation Requirement Composer PhpUnit Execution To run all tests of test file: vendor/eher/phpunit/bin/phpunit test/app_test.php To run specific test from test file: vendor/eher/phpunit/bin/phpunit --filter testAdd test/app_test.php