Skip to main content

Expands the existing Django TestCase class with extra functionality.

Project description

Django Expanded Test Cases

PyPI Python Versions Django Versions Run Tests Coverage Status Documentation Status 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. For changes in the latest version, see ReadTheDocs - Version History.

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.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_expanded_test_cases-0.8.1-py3-none-any.whl (68.0 kB view details)

Uploaded Python 3

File details

Details for the file django_expanded_test_cases-0.8.1.tar.gz.

File metadata

File hashes

Hashes for django_expanded_test_cases-0.8.1.tar.gz
Algorithm Hash digest
SHA256 c1ae19cebc97ba58054e27c7ef6b37a196c7207ba1750f881032317cbb5972f0
MD5 dc2993e130db3128fbcb4c749c337c79
BLAKE2b-256 abd0f1dfe9b2376657d9d3a932302dbc7010b881bd1728403105ecebd921a533

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_expanded_test_cases-0.8.1.tar.gz:

Publisher: release.yaml on brodriguez8774/django-expanded-test-cases

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for django_expanded_test_cases-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22f338bcd6053528810d9f0d5d4ab1d4057c0342fea4195b04a5be07fa58a385
MD5 4f0cac74b5c2d88611a1568a337d5ffd
BLAKE2b-256 baaf4b513f145f7d7ff3dcdf9297b9051b34c2477034dc274495aaa3e4ced807

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_expanded_test_cases-0.8.1-py3-none-any.whl:

Publisher: release.yaml on brodriguez8774/django-expanded-test-cases

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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