-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JUnit XML should have timestamp
attrubute
#44
Comments
Thanks for raising @evrom and doubly so for taking the time to make the PR in cucumber-js. I've transferred your issue because we're currently replacing that formatter with the one produced by this repo (via #42) for consistency across different language implementations of Cucumber. We can certainly consider the inclusion of |
While the timestamp is not in original XSD for JUnit, it does look like it is a common enough property. So I reckon we can support it without breaking anything. We'll have to update the README to say something to that effect though. |
While the timestamp attribute is not part of the JUnit or Surefire XSD in practice it seems to be a common enough property[1] that we can add it without expecting any of the popular tools to break. Closes: #44 1. https://github.com/testmoapp/junitxml
While the timestamp attribute is not part of the JUnit or Surefire XSD in practice it seems to be a common enough property[1] that we can add it without expecting any of the popular tools to break. Closes: #44 1. https://github.com/testmoapp/junitxml
While the timestamp attribute is not part of the JUnit or Surefire XSD in practice it seems to be a common enough property[1] that we can add it without expecting any of the popular tools to break. Closes: #44 1. https://github.com/testmoapp/junitxml
While the timestamp attribute is not part of the JUnit or Surefire XSD in practice it seems to be a common enough property[1] that we can add it without expecting any of the popular tools to break. Closes: #44 1. https://github.com/testmoapp/junitxml
While the timestamp attribute is not part of the JUnit or Surefire XSD in practice it seems to be a common enough property[1] that we can add it without expecting any of the popular tools to break. Closes: #44 1. https://github.com/testmoapp/junitxml
🤔 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 thetestsuite
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
The text was updated successfully, but these errors were encountered: