Skip to content

Conversation

@oliviermartin
Copy link
Contributor

In the same principle as the PR I sent 2 years ago: #214 But this time is to add comments to 'testsuite' XML nodes.

  • xmlrunner: Expose python test class docstrings as comments in the XML result file

These comments could for instance be retrieved by XSLT to add
description to test suite.

  • tests: Added Python Docstring to test new support
… result file * xmlrunner: Expose python test class docstrings as comments in the XML result file These comments could for instance be retrieved by XSLT to add description to test suite. * tests: Added Python Docstring to test new support
@dnozay
Copy link
Member

dnozay commented Jul 25, 2022

@oliviermartin , PR looks okay but it would be good to have a testcase to leverage these.

@codecov-commenter
Copy link

codecov-commenter commented Jul 25, 2022

Codecov Report

Merging #270 (18792dd) into master (3a2be20) will decrease coverage by 0.17%.
The diff coverage is 72.72%.

@@ Coverage Diff @@ ## master #270 +/- ## ========================================== - Coverage 94.87% 94.70% -0.18%  ========================================== Files 12 12 Lines 1542 1549 +7 ========================================== + Hits 1463 1467 +4  - Misses 79 82 +3 
Impacted Files Coverage Δ
xmlrunner/result.py 97.82% <72.72%> (-0.79%) ⬇️

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 3a2be20...18792dd. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants