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.6.2.tar.gz (93.0 kB view details)

Uploaded Source

Built Distribution

django_expanded_test_cases-0.6.2-py3-none-any.whl (100.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-expanded-test-cases-0.6.2.tar.gz
Algorithm Hash digest
SHA256 450d3e75db6d2adadc1ec13fd43ef6f23f9d7e6bbbde9b89dc6446010e4bf3f7
MD5 3bd6eac6cfa141a0ab4fede942d87f84
BLAKE2b-256 e22947d7d43ade874eb007178a216f695a3f01120d16ddf40c37c9b571ad8598

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_expanded_test_cases-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d32f72554ef32135962cdf91bc477e54c1730166d0637401f09698602f41ba9
MD5 4ecd3aff0bcc0e0b08945194b9939b00
BLAKE2b-256 a6c8d89b39c74fdc99ae638f2223292e799d649a1d30678fe42540a1e0e0c77b

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