Peter Sergeant > Test-BDD-Cucumber-0.15 > App::pherkin

Download:
Test-BDD-Cucumber-0.15.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.15   Source   Latest Release: Test-BDD-Cucumber-0.26

NAME ^

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

VERSION ^

version 0.15

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, Peter Sergeant; Licensed under the same terms as Perl

syntax highlighting: