django-nose
django-nose copied to clipboard
Add plugin to describe tests
This may be out of scope for django-nose. But, I can't live without this plugin and hate the default way that tests are described.
With the plugin, you can add
NOSE_PLUGINS = [
'django_nose.plugin.PrintRightPlugin',
]
NOSE_ARGS = ['--with-printright']
and get test printed out like
test_models:FoobarTestCase.test_something ... ok
which you can just copy paste to run instead of having to disinterpolate, for instance:
test_something (test_models.FoobarTestCase)
Have you given nose-progressive a try? I never use nose without it and in fact wrote it in part to address this very issue.
I don't think we'll add as an official plugin (https://github.com/erikrose/nose-progressive is a nice, fully featured alternative), but this may make a good example documentation for writing your own plugin.