Opened 4 years ago
Last modified 4 years ago
#32270 closed New feature
Changing Django’s default test runner to be more robust — at Initial Version
Reported by: | Diptesh Choudhuri | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | testing |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The default django test runner gets the job done, but it (and the entire django codebase) can benefit from a more robust runner, like pytest or nose. I will take the example of pytest because I am familiar with it and it is more widely used.
Anyone who has used pytest with django will immediately agree that it is much more pleasurable to work with, albeit a bit more intimidating. I intend work on the intimidating part and make it easier by adding a lot of documentation.
Please let me know your opinions on this topic. If it gets traction, I will work on compiling a list of what pytest has over the default runner, and what I intend to do to solve all of this.
NOTE: If accepted, this will be my proposal for GSoC 2021.
Best,
Diptesh