2.0.3 • Published 5 years ago

cucumber-tag-expressions v2.0.3

Weekly downloads
476,631
License
MIT
Repository
github
Last release
5 years ago

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