8000 Custom data for the result XML report · Issue #672 · junit-team/junit4 · GitHub
[go: up one dir, main page]

Skip to content
Custom data for the result XML report #672
@OndraZizka

Description

@OndraZizka

In certain scenarios, it would be very handy to be able to add custom data to the xml report.
Examples:

  • Mapping the test to set of requirements
  • Adding paths of screenshots taken during the test
  • Metrics taken during the test

It could be either taken from static data - annotations, or through an API.

@test @CustomReportData("foo=bar")
fooStatic() { ... }

fooDynamic(){
this.setCustomReportData("name", "value")
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0