LinuxCommandLibrary

behat

behat

TLDR

Initialize a new Behat project

$ behat --init
copy


Run all tests
$ behat
copy


Run all tests from the specified suite
$ behat --suite=[suite_name]
copy


Run tests with a specific output formatter
$ behat --format [pretty|progress]
copy


Run tests and output results to a file
$ behat --out [path/to/file]
copy


Display a list of definitions in your test suites
$ behat --definitions
copy

Copied to clipboard