Skip to content

refactor(generate_reports): access _report_testsuite using self#296

Open
dhruvparanjape wants to merge 1 commit intoxmlrunner:masterfrom
dhruvparanjape:allow_report_testsuite_to_be_overridden
Open

refactor(generate_reports): access _report_testsuite using self#296
dhruvparanjape wants to merge 1 commit intoxmlrunner:masterfrom
dhruvparanjape:allow_report_testsuite_to_be_overridden

Conversation

@dhruvparanjape
Copy link
Copy Markdown

This allows a subclass to override _report_testsuite.

We have a usecase where we want to add the cost of class level setup and teardown for our django project in the test suite timing. To do this cleanly we need to override _report_testsuite. This change should allow us to accomplish this without any hacky monkeypatching required.

This allows a subclass to override `_report_testsuite`.

We have a usecase where we want to add the cost of class level setup and teardown for our django project in the test suite timing. To do this cleanly we need to override `_report_testsuite`. This change should allow us to accomplish this without any hacky monkeypatching required.
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.

1 participant