pest
A PHP testing framework with a focus on simplicity. More information: https://pestphp.com.
-
Initialize 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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.