#27430: `manage.py test` does not support unittest `-b` buffer option
-----------------------------------+--------------------------------------
Reporter: Paul Tiplady | Owner: nobody
Type: Uncategorized | Status: new
Component: Testing framework | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Description changed by Paul Tiplady:
Old description:
> 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.
New description:
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 [https://github.com/django-nose/django-
nose/issues/276 bugged] WRT the new `--parallel` flag, so it's not a
perfect solution.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/27430#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.63ccc6f3d97cf8500277f238a1aeaa42%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.