Skip to main content

Django test runner that uses nose.

Project description

This package is most useful when installed with:

  • Django

  • nosetests

Installation

You can get django-nose from pypi with:

pip install django-nose

The development version can be installed with:

pip install -e git://github.com/jbalogh/django-nose.git#egg=django-nose

Since django-nose extends Django’s built-in test command, you should add it to your INSTALLED_APPS in settings.py:

INSTALLED_APPS = (
    ...
    'django_nose',
    ...
)

Then set TEST_RUNNER in settings.py:

TEST_RUNNER = 'django_nose.run_tests'

Usage

See django help test for all the options nose provides, and look to the nose docs for more help with nose.

Caveats

South installs its own test command that turns off migrations during testing. Make sure that django_nose comes after south in INSTALLED_APPS so that django_nose’s test command is used.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-nose-0.0.2.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file django-nose-0.0.2.tar.gz.

File metadata

  • Download URL: django-nose-0.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-nose-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bd881bba47303b732064b22bdb6876bdfeb9ec320d9d27325fba53b61bf055ba
MD5 37178ed8aa65eb7cca79f99c6d42d804
BLAKE2b-256 7bc73cef3c95fc4d127169cc3e2e0916ba822539f5996974b58642fbaaea64be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page