Skip to main content

Django test runner that uses nose.

Project description

## Requirements

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][1] for more help with nose.

[1]: http://somethingaboutorange.com/mrl/projects/nose/

## Caveats

[South][2] 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.

[2]: http://south.aeracode.org/

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.1.tar.gz (3.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for django-nose-0.0.1.tar.gz
Algorithm Hash digest
SHA256 27f51acd564bfdf61575b9da9a9701da8145538fb8df06560130a6cdb8ca2d89
MD5 461c6f49ca91d17a18939874653ae42c
BLAKE2b-256 cfee02856ce77209b8034721847b16b5d22105e211c7790fa6e9e9f74e4bbe1a

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