pherkin - Execute tests written using Test::BDD::Cucumber
pherkin pherkin some/path/features/
pherkin accepts a single argument of a directory name, defaulting to
./features/ if none is specified. This directory is searched for feature files (any file matching
*.feature) and step definition files (any file matching
*_steps.pl). The step definitions are loaded, and then the features executed.
Steps that pass are printed in green, those that fail in red, and those for which there is no step definition - or that are skipped as the result of a previous failure - as yellow.
pherkin will exit with a non-zero status if (and only if) the overall result is considered to be failing.
-l, --lib Add 'lib' to @INC -b, --blib Add 'blib/lib' and 'blib/arch' to @INC -I [dir] Add given directory to @INC -o, --output Output harness to use. Default to 'TermColor'. See 'Outputs'
pherkin -o TermColor some/path/feature # The default pherkin -o TestBuilder some/path/feature # Test::Builder-type text output
Copyright 2012, Peter Sergeant; Licensed under the same terms as Perl