2020-11-06 11:07:31 +00:00
|
|
|
# pest
|
|
|
|
|
|
|
|
> A PHP testing framework with a focus on simplicity.
|
|
|
|
> More information: <https://pestphp.com>.
|
|
|
|
|
2022-06-27 11:23:12 +01:00
|
|
|
- Initialize a standard Pest configuration in the current directory:
|
2020-11-06 11:07:31 +00:00
|
|
|
|
|
|
|
`pest --init`
|
|
|
|
|
|
|
|
- Run tests in the current directory:
|
|
|
|
|
|
|
|
`pest`
|
|
|
|
|
|
|
|
- Run tests annotated with the given group:
|
|
|
|
|
|
|
|
`pest --group {{name}}`
|
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Run tests and print the coverage report to stdout:
|
2020-11-06 11:07:31 +00:00
|
|
|
|
|
|
|
`pest --coverage`
|
|
|
|
|
|
|
|
- Run tests with coverage and fail if the coverage is less than the minimum percentage:
|
|
|
|
|
|
|
|
`pest --coverage --min={{80}}`
|