Man pages sections > man3 > App::pherkin

App::pherkin - Run Cucumber tests from the command line

App::pherkin(3pm) User Contributed Perl Documentation App::pherkin(3pm)

NAME

App::pherkin - Run Cucumber tests from the command line

VERSION

version 0.53

SYNOPSIS

 pherkin
 pherkin some/path/features/

DESCRIPTION

"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.

METHODS

run

The "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.

AUTHOR

Peter Sergeant "pete@clueball.com"

LICENSE

Copyright 2011-2016, Peter Sergeant; Licensed under the same terms as Perl
2017-07-24 perl v5.26.0