logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Peter Sergeant "pete@clueball.com"

Description

       Parse Feature files in to a set of data classes

License

         Copyright 2019-2023, Erik Huelsmann
         Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl

perl v5.40.1                                       2025-05-29                   Test::BDD::Cucumber::Parser(3pm)

Methods

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

Name

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

Synopsis

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

Version

       version 0.87

See Also