NAME

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

VERSION

version 0.84

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 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl