pest: add page (#4929)

translation-badges
Owen Voke 2020-11-06 11:07:31 +00:00 committed by GitHub
parent 28a29bf304
commit eb7ed1a7d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/common/pest.md Normal file
View File

@ -0,0 +1,24 @@
# pest
> A PHP testing framework with a focus on simplicity.
> More information: <https://pestphp.com>.
- Initialise a standard Pest configuration in the current directory:
`pest --init`
- Run tests in the current directory:
`pest`
- Run tests annotated with the given group:
`pest --group {{name}}`
- Run tests and print the coverage report to `stdout`:
`pest --coverage`
- Run tests with coverage and fail if the coverage is less than the minimum percentage:
`pest --coverage --min={{80}}`