From 752d45121f191e63b8c0716d2e8ab25fbd580c8a Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Sun, 26 May 2019 20:50:03 +0100 Subject: [PATCH] behat: add page (#3051) --- pages/common/behat.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/behat.md diff --git a/pages/common/behat.md b/pages/common/behat.md new file mode 100644 index 000000000..14d88b17e --- /dev/null +++ b/pages/common/behat.md @@ -0,0 +1,28 @@ +# behat + +> A PHP framework for Behaviour-Driven Development. +> More information: . + +- Initialise a new Behat project: + +`behat --init` + +- Run all tests: + +`behat` + +- Run all tests from the specified suite: + +`behat --suite={{suite_name}}` + +- Run tests with a specific output formatter: + +`behat --format {{pretty|progress}}` + +- Run tests and output results to a file: + +`behat --out {{path/to/file}}` + +- Display a list of definitions in your test suites: + +`behat --definitions`