mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 04:50:40 +03:00
376 B
376 B
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}}