Skip to content

JUnit XML should have timestamp attrubuteΒ #44

@evrom

Description

@evrom

πŸ€” What's the problem you're trying to solve?

Looking at a report, the viewer doesn't know when the tests were executed. This makes it impossible to know if the report is recent or relevant if only the report is available.

✨ What's your proposed solution?

Add timestamp as an attribute to the testsuite element. It is supported by other test reporting libraries using the JUnit.xml format.

⛏ Have you considered any alternatives or workarounds?

A workaround is a custom script that runs the tests, which can store a timestamp before starting the tests, and then add the timestamp to the report.

πŸ“š Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions