Scroll to navigation

Test::BDD::Cucumber::Parser(3pm) User Contributed Perl Documentation Test::BDD::Cucumber::Parser(3pm)

NAME

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

VERSION

version 0.86

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.

AUTHOR

Peter Sergeant "pete@clueball.com"

LICENSE

  Copyright 2019-2023, Erik Huelsmann
  Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
2023-08-29 perl v5.36.0