Files
tldr/pages/common/phpunit.md
T
Managor c20587ae23 *: improve more info links and add option placeholders part 3 (#19560)
* 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>
2025-11-24 16:45:14 -06:00

459 B

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}}