cucumber-tag-expressions

Cucumber Tag Expression parser

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
cucumber-tag-expressions
2.0.34 years ago8 years agoMinified + gzip package size for cucumber-tag-expressions in KB

Readme

Cucumber Tag Expressions for JavaScript
Greenkeeper badge
Build Status
The docs are here.

Example

import {TagExpressionParser} from 'cucumber-tag-expressions'
const parser = new TagExpressionParser()

const expressionNode = parser.parse('@tagA and @tagB')

expressionNode.evaluate(["@tagA", "@tagB"]) // => true
expressionNode.evaluate(["@tagA", "@tagC"]) // => false