NAME

Test::BDD::Cucumber::Parser - Parse Feature files

VERSION

version 0.12

DESCRIPTION

Parse Feature files in to a set of data classes

SYNOPSIS

# Returns a Test::BDD::Cucumber::Model::Feature object
my $feature = Test::BDD::Cucumber::Parser->parse_file(
   't/data/features/basic_parse.feature' );

METHODS

parse_string

parse_file

Both methods accept a single string as their argument, and return a Test::BDD::Cucumber::Model::Feature object on success.

ERROR HANDLING

Test::BDD::Cucumber uses Ouch for exception handling. Error originating in this class tend to have a code of parse_error and a Test::BDD::Cucumber::Model::Line object for data.

AUTHOR

Peter Sergeant pete@clueball.com

LICENSE

Copyright 2011, Peter Sergeant; Licensed under the same terms as Perl