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 2

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 Paul Tiplady)

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 WRT the new --parallel flag, so it's not a perfect solution.

Change History (2)

comment:1 by Paul Tiplady, 8 years ago

Description: modified (diff)

comment:2 by Paul Tiplady, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top