Test::BDD::Cucumber::Parser - Parse Feature files
version 0.11
Parse Feature files in to a set of data classes
# Returns a Test::BDD::Cucumber::Model::Feature object my $feature = Test::BDD::Cucumber::Parser->parse_file( 't/data/features/basic_parse.feature' );
Both methods accept a single string as their argument, and return a Test::BDD::Cucumber::Model::Feature object on success.
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.
parse_error
Peter Sergeant pete@clueball.com
pete@clueball.com
Copyright 2011, Peter Sergeant; Licensed under the same terms as Perl
To install Test::BDD::Cucumber, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::BDD::Cucumber
CPAN shell
perl -MCPAN -e shell install Test::BDD::Cucumber
For more information on module installation, please visit the detailed CPAN module installation guide.