Skip to main content

custom django testrunner

Project description

Custom django testrunner that eliminates test database creation when running tests.

Installation

  • pip install dj-nodb

This will place the custom testrunner (runner.py) at the root of your project. Alternatively you can move it to any part of your application you desire.

Usage (default)

Override django’s default testrunner by adding the following to your settings

TEST_RUNNER = 'runner.NoDbTestRunner' or TEST_RUNNER = '<your_app>.runner.NoDbTestRunner'

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

djnodb-0.0.2.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

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