https://github.com/cucumber/query
A query API for https://github.com/cucumber/messages
https://github.com/cucumber/query
java javascript polyglot-release tidelift
Last synced: 4 months ago
JSON representation
A query API for https://github.com/cucumber/messages
- Host: GitHub
- URL: https://github.com/cucumber/query
- Owner: cucumber
- License: mit
- Created: 2022-11-21T22:26:28.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-21T08:55:24.000Z (5 months ago)
- Last Synced: 2025-08-23T08:13:45.437Z (5 months ago)
- Topics: java, javascript, polyglot-release, tidelift
- Language: Java
- Homepage:
- Size: 2.35 MB
- Stars: 2
- Watchers: 9
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Cucumber Query
Given one Cucumber Message, find another
## 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](https://github.com/cucumber/react-components) needs to know the status of
a [Step](https://github.com/cucumber/messages/blob/main/messages.md#step) as it
is rendering the [GherkinDocument](https://github.com/cucumber/messages/blob/main/messages.md#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.