Cucumber::TagExpressions3pm
Tag expression parser
Usage
use Cucumber::TagExpressions;my $expr = Cucumber::TagExpressions->parse( '@a and @b' );if ( $expr->evaluate( qw/x y z/ ) ) {say "The evaluation returned false";}
Overview
Cucumber tag expressions allow users to define the subset of Gherkin scenarios they want to run. This library parses the expression and returns an evaluator object which can be used to test the tags specified on a scenario against the filter expression.
Class methods
$class->parse( $expression )
Parses the string specified in $expression and returns a Cucumber::TagExpressions::ExpressionNode instance.