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 details)

Uploaded Source

File details

Details for the file djnodb-0.0.2.tar.gz.

File metadata

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

File hashes

Hashes for djnodb-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4127d8baa80cbe4e9a5ea55556de41dcdd704925de67b501be9cdf2dd03ca67a
MD5 bb38b1dc8b9ef0457a156c1e12c11ef1
BLAKE2b-256 7f22dfdade4415fcc13bdff29fe31cf254747eb57710519fbdc8eb432b953470

See more details on using hashes here.

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