npm.io
16.1.0 • Published 2 weeks ago

@cucumber/query

Licence
MIT
Version
16.1.0
Deps
0
Vulns
0
Weekly
0
Stars
3


Cucumber Query

Given one Cucumber Message, find another

npm maven-central rubygems build backers sponsors

Overview

The different message types in cucumber-messages have references to each other using id fields. It's a bit similar to rows in a relational database, with primary and foreign keys.

Consumers of these messages may want to query the messages for certain information. For example, @cucumber/react-components needs to know the status of a Step as it is rendering the GherkinDocument

The Query library makes this easy by providing a function to look up the status of a step, a scenario or an entire file.

Keywords