cucumber / cucumber/html-formatter

HTML report are really heavy as they embed the whole messages stream

Open
#414 4 comments 0 reactions 0 assignees View on GitHub
language: javascript library: cucumber-react
Dominant language
C#
Stars
21
Forks
6
Avg merge
1d 17h
Merged PRs (30d)
8

Description

## Summary

HTML report are really heavy as they embed the whole messages stream. We can reduce the messages by pre-computing results data:
- result
- duration
- timestamp
- attachments

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

- port the following libraries to the other languages: `gherkin-utils`, `query`
- share test suites

## Context & Motivation

- reduce file size of static HTML reports
- reduce load time for Cucumber Reports

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.