App::pherkin - Run Cucumber tests from the command line
pherkin pherkin some/path/features/
pherkin will search the directory specified (or
./features/) for feature files (any file matching
*.feature) and step definition files (any file matching
*_steps.pl), loading the step definitions and then executing the features.
Steps that pass will be printed in green, those that fail in red, and those for which there is no step definition as yellow (for TODO), assuming you're using the default output harness.
App::pherkin class, which is what the
pherkin command uses, makes use of the
run() method, which accepts currently a single path as a string, or nothing.
Returns a Test::BDD::Cucumber::Model::Result object for all steps run.
Copyright 2011, Peter Sergeant; Licensed under the same terms as Perl