Skip to content

Add an ISO-8601 timestamp to every testsuite and testcase in the XML-report #157

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

Merged
merged 2 commits into from
Sep 30, 2017
Merged

Conversation

fniessink
Copy link
Contributor

To monitor when tests have last run, we read the timestamp attribute from JUnit-XML files. It would be nice if XML generated by XMLRunner included this timestamp attribute.

This pull request adds timestamps to testsuites and testcases in the XML output. The timestamp attributes are ISO8601 as specified by the JUnit DTD included in the XMLRunner sources.

@fniessink fniessink changed the title Add a ISO-8601 timestamp to every testsuite and testcase in the XML-report Add an ISO-8601 timestamp to every testsuite and testcase in the XML-report Sep 15, 2017
@coveralls
Copy link

coveralls commented Sep 15, 2017

Coverage Status

Coverage increased (+0.005%) to 99.301% when pulling cce91c2 on ICTU:master into 8e53812 on xmlrunner:master.

@codecov-io
Copy link

codecov-io commented Sep 15, 2017

Codecov Report

Merging #157 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #157      +/-   ##
=========================================
+ Coverage   99.29%   99.3%   +<.01%     
=========================================
  Files          17      17              
  Lines        1136    1151      +15     
=========================================
+ Hits         1128    1143      +15     
  Misses          8       8
Impacted Files Coverage Δ
tests/builder_test.py 100% <100%> (ø) ⬆️
xmlrunner/builder.py 100% <100%> (ø) ⬆️
xmlrunner/result.py 97.61% <100%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8e53812...05a94fc. Read the comment docs.

@coveralls
Copy link

coveralls commented Sep 25, 2017

Coverage Status

Coverage increased (+0.009%) to 99.305% when pulling 05a94fc on ICTU:master into 8e53812 on xmlrunner:master.

@dnozay dnozay merged commit 484c355 into xmlrunner:master Sep 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants