From eb7ed1a7d6e4c38c35195a16a82e80d867f2fc65 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Fri, 6 Nov 2020 11:07:31 +0000 Subject: [PATCH] pest: add page (#4929) --- pages/common/pest.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/pest.md diff --git a/pages/common/pest.md b/pages/common/pest.md new file mode 100644 index 000000000..62dd0fdb4 --- /dev/null +++ b/pages/common/pest.md @@ -0,0 +1,24 @@ +# pest + +> A PHP testing framework with a focus on simplicity. +> More information: . + +- 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}}`