mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-02 05:02:12 +08:00
* batch1 * batch * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> * Update pages/common/locust.md Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> --------- Co-authored-by: Ivan Baluta <50071699+ivanbaluta@users.noreply.github.com> Co-authored-by: Sahil Afrid Farookhi <msafarookhi@gmail.com>
21 lines
459 B
Markdown
21 lines
459 B
Markdown
# phpunit
|
|
|
|
> PHPUnit test runner.
|
|
> More information: <https://docs.phpunit.de/en/12.4/textui.html#command-line-options>.
|
|
|
|
- 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 {{path/to/directory}}`
|