Opened 8 years ago
Last modified 4 years ago
#27430 closed New feature
`manage.py test` does not support unittest `-b` buffer option — at Version 1
Reported by: | Paul Tiplady | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Jackie Leng, Hugo Osvaldo Barrera | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Unittest supports buffering of test output with the -b
flag, such that passing tests do not spam stdout/stderr with output. This is the default behaviour for nosetests, as well.
I can't see any way to enable this behaviour in manage.py test
. Has adding support for this flag been considered?
Currently my workaround is to use nosetests (with django-nose), but that test runner appears to be [bugged](https://github.com/django-nose/django-nose/issues/276) WRT the new --parallel
flag, so it's not a perfect solution.