Skip to content

cucumber/query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Cucumber Query

Given one Cucumber Message, find another

npm maven-central 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.