Skip to main content

Expands the existing Django TestCase class with extra functionality.

Project description

Django Expanded Test Cases

Documentation Status PyPI Python Versions Django Versions GitHub PyPI Downloads per Month

Description

Expands the existing Django TestCase class with extra functionality.

Different TestCase classes are provided, each providing separate sets of functionality.

For full documentation, see ReadTheDocs.

Example ETC Debug Output on UnitTest Error

A main functionality that ExpandedTestCases provides is verbose response debug info on UnitTest errors.
Below is an example of such output, when a test fails while checking the <h1> tag for a very simple page.

ETC Error Debug Output Screenshot

Installation

Install with

pip install django-expanded-test-cases

For full color output, also install

pip install colorama

Package Development & Running Project Tests

As standard for Python development, this project has its own testing to ensure it functions as desired. After installing dependencies, everything required to run tests are provided in one of two files:

  • To run tests via standard django python manage.py test, execute the <project_root>/runtests.py file.
  • To run tests via pytest, execute the <project_root>/runpytests.py file.

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-expanded-test-cases-0.3.0.tar.gz (66.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-expanded-test-cases-0.3.0.tar.gz.

File metadata

File hashes

Hashes for django-expanded-test-cases-0.3.0.tar.gz
Algorithm Hash digest
SHA256 cb0627ea1fe49df11e3a83b32c576fa2948f0817d642252003413e8261bed3a1
MD5 56e22387be85e13af851cd9eff786658
BLAKE2b-256 fc100bad2f4e65475b2d4f1e105a807978f2b006b5f430c2d0f45801674dc15c

See more details on using hashes here.

File details

Details for the file django_expanded_test_cases-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_expanded_test_cases-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef961a7f520a82676e385305829195d8519286d40118d08112757565bb19d0f9
MD5 8b5e7febca350cf04b08947a5e0d1ce0
BLAKE2b-256 3506f00b56f1a4d879fecce4c9d940d68ed89cad0023ac31f4527fa18898f0f7

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