Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin to describe tests #114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add plugin to describe tests #114

wants to merge 1 commit into from

Conversation

skyl
Copy link

@skyl skyl commented Mar 30, 2013

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)

@erikrose
Copy link
Contributor

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.

@jwhitlock
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants