Provide an explicit setting to skip tests for INSTALLED_APPS
|Reported by:||lakinwecker||Owned by:||nobody|
|Cc:||claude@…, magma.chambers@…, mmitar@…, kitsunde@…, kkumler||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When developing an application that depends on thirdparty django libraries, be it apps in contrib, or libraries like south or treebeard, you rarely want to run their tests as part of your normal testing routine. The latest treebeard library has somewhere around 600 tests! And although it's great that it has such extensive tests (yay tabo!) - I rarely want to run them as part of my testing routine. Rather than having to explicitly specify all of my apps everytime I test, a setting that explicitly asks for certain apps to be skipped it much nicer.
I'm attaching a patch that implements just such a setting. The patch has an implementation, tests and updates the documentation.
The patch was made against r13409 - although I marked this as part of SVN - it would be awesome to see this released in the current releases - of course, I realize that may not be possible.
Change History (16)
Changed 6 years ago by lakinwecker
comment:1 Changed 6 years ago by lrekucki
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed