-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
dump timezone and offset for junit reporter xml timestamp #2388
Conversation
Can you please provide a rationale for the proposed change? |
@sbrannen updated |
Note that your PR breaks the build with failing tests. Before submitting a PR, please make sure you execute |
Is passing |
Codecov Report
@@ Coverage Diff @@
## main #2388 +/- ##
============================================
- Coverage 89.86% 89.85% -0.01%
- Complexity 4544 4545 +1
============================================
Files 397 397
Lines 11238 11239 +1
Branches 909 909
============================================
Hits 10099 10099
Misses 863 863
- Partials 276 277 +1
Continue to review full report at Codecov.
|
@@ -317,10 +316,11 @@ void writesHostNameAndTimestamp(@TempDir Path tempDirectory) throws Exception { | |||
engine.addTest("test", () -> { | |||
}); | |||
|
|||
LocalDateTime now = LocalDateTime.parse("2016-01-28T14:02:59.123"); | |||
ZoneId zone = ZoneId.systemDefault(); | |||
String timestamp = "2016-01-28T14:02:59Z[Europe/London]"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ That's the format you want in the XML? Could you please double check that tools that read this XML report, e.g. Jenkins, don't choke on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep going to do the same for pytest too pytest-dev/pytest#7662 (comment)
This pull request has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be closed if no further activity occurs. If you intend to work on this pull request, please reopen the PR. Thank you for your contributions. |
This pull request has been automatically closed due to inactivity. If you are still interested in contributing this, please ensure that it is rebased against the latest branch (usually |
Overview
related to pytest-dev/pytest#7662
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@API
annotations