unittest-xml-reporting icon indicating copy to clipboard operation
unittest-xml-reporting copied to clipboard

Adding support for startTestRun and stopTestRun

Open aunitt opened this issue 3 years ago • 0 comments

Hi, I wanted to add support for startTestRun and stopTestRun into xmlrunner. We use startTestRun and stopTestRun in our CI tests as we have expensive setup and tear down that we only want to do once. My understanding from https://docs.python.org/3/library/unittest.html is that these functions have been available since version 3.1 of unittest. For this change, I've looked at the source of unittest and tried to make exactly the same changes to xmlrunner. I've added a test to the test suite to cover this functionality.

aunitt avatar Aug 02 '22 14:08 aunitt