DOKK / manpages / debian 11 / libtest-bdd-cucumber-perl / Test::BDD::Cucumber::Parser.3pm.en
Test::BDD::Cucumber::Parser(3pm) User Contributed Perl Documentation Test::BDD::Cucumber::Parser(3pm)

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

version 0.75

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.

Peter Sergeant "pete@clueball.com"

  Copyright 2019-2020, Erik Huelsmann
  Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
2020-12-30 perl v5.32.0