Skip to content
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

Adding support for startTestRun and stopTestRun #271

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aunitt
Copy link

@aunitt aunitt commented Aug 2, 2022

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.

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.

None yet

1 participant