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
- Run tests annotated with the given group:
phpunit --group
- Run tests and generate a coverage report in HTML:
phpunit --coverage-html
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
