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