phpunit Command Examples

PHPUnit command-line test runner. More information: https://phpunit.de.

phpunit

phpunit {{path/to/TestFile.php}}

phpunit --group {{name}}

phpunit --coverage-html {{path/to/directory}}