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

Uploaded Source

Built Distribution

django_expanded_test_cases-0.5.1-py3-none-any.whl (89.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-expanded-test-cases-0.5.1.tar.gz
Algorithm Hash digest
SHA256 e3d491d4f112972cd63862632f9bd3c28fd370d2a4d875cc267bcb36b07a626e
MD5 d2d42278ad8aadf8781f09359908af98
BLAKE2b-256 e7b64f37c3ce99b4598dc3ace13fbd6baa5d59ec7e72f72780197a89ea50a41f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_expanded_test_cases-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43f8cc1a55e0a1c1e9046ada6f9126bcfe93c15f160f2e810f8a05f08d92b4ab
MD5 5e942bf394fe3de0ea8ec3c48e595d0e
BLAKE2b-256 d03ea4c169fa17941907ae0d59084ab7ba1a081e4620d9a5e1a9fecda8fe926f

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