Skip to content

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

@vincent-psarga

Description

@vincent-psarga

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Next

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions