Django Test runner suite_result should be passed in the suite.
|Reported by:||ericholscher||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have a use case where I want need the suite in the use of reporting the result. Currently I have to subclass all of run_tests to get at it:
It also seems like allowing some (or all) of these functions should take kwargs, so that when we find stuff like this in the future it doesn't break backwards compatibility. Stuff like setup_test_environment might not, because it's just a basic wrapper, but it seems like a good future-proofing step.
Attached is a patch that does this.
Change History (4)
Changed 5 years ago by ericholscher
comment:1 Changed 5 years ago by jezdez
- Component changed from Uncategorized to Testing framework
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted