Skip to main content

Get pretty output for your Django unit tests

Project description

dj-testreporter

A think wrapper around the default Django DiscoverRunner which can generate pretty reports from your tests

Usage

Once off

python manage.py test --testrunner=dj_testreporter.runners.BDDTestRunner

Always use it

settings.py

TEST_RUNNER='dj_testreporter.runners.BDDTestRunner'

Example output:

* ************
* TEST SUMMARY
* ************
* -
* ---------------------
* MYPROJECT.TESTS.TEST_MODELS
* ---------------------
*
*  SomeModelTestCase:
*  ---------------------
*   ✓ a test that passes
*   ✗ a test that fails

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

testreporter-0.0.1.tar.gz (1.3 kB view details)

Uploaded Source

File details

Details for the file testreporter-0.0.1.tar.gz.

File metadata

  • Download URL: testreporter-0.0.1.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for testreporter-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7445e5c59e1529da7e1985483950bfe45951c2c6ee1c44209f7bd98ce04288df
MD5 05fb071ba74949fdfefbcfdb1f511b45
BLAKE2b-256 7d42aa0f8ce50f91970d7358d804732f3b401373864bc81670a469dd85e9b07c

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