phpunit
PHPUnit command-line test runner.
- Run tests in the current directory. Note: Expects you to have a 'phpunit.xml':
phpunit
- Run tests in a specific file:
phpunit {path/to/TestFile.php}
- Run tests annotated with the given group:
phpunit --group {name}
- Run tests and generate a coverage report in HTML:
phpunit --coverage-html {directory}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).