Emit messages that link AST nodes to results #1462
Labels
🥒 core team
Candidate for going onto the Cucumber Open Board: https://github.com/orgs/cucumber/projects/8
language: java
language: javascript
language: ruby
library: cucumber-messages
library: cucumber-react
⚡ enhancement
Request for new functionality
Summary
HTML report are really heavy as they embed the whole messages stream. We can reduce the messages by pre-computing results data:
Once this is done, we would only need the
gherkinDocument
messages to render the HTML report and a new data structure to represent pre-computed results (linking results directly to AST node (feature, scenario, exampleRow, step)Expected Behavior
The reports overall size should be reduced. One step further could also be to extract the attachments content for images, videos and other HTML embeddable content)
Possible Solution
gherkin-utils
,query
Context & Motivation
The text was updated successfully, but these errors were encountered: