Django Expanded Test Cases
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.
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.pyfile. - To run tests via
pytest, execute the<project_root>/runpytests.pyfile.
Metadata
Release files for django-expanded-test-cases 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_expanded_test_cases-0.8.1.tar.gz | 179.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_expanded_test_cases-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 247.4 kB
Release files / django_expanded_test_cases-0.8.1.tar.gz
| Download URL | django_expanded_test_cases-0.8.1.tar.gz |
|---|---|
| Size | 179.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1ae19cebc97ba58054e27c7ef6b37a196c7207ba1750f881032317cbb5972f0
|
|
BLAKE2b-256 checksum How to use checksums |
abd0f1dfe9b2376657d9d3a932302dbc7010b881bd1728403105ecebd921a533
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 17, 2025.
Transparency logRelease files / django_expanded_test_cases-0.8.1-py3-none-any.whl
| Download URL | django_expanded_test_cases-0.8.1-py3-none-any.whl |
|---|---|
| Size | 68.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
22f338bcd6053528810d9f0d5d4ab1d4057c0342fea4195b04a5be07fa58a385
|
|
BLAKE2b-256 checksum How to use checksums |
baaf4b513f145f7d7ff3dcdf9297b9051b34c2477034dc274495aaa3e4ced807
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 17, 2025.
Transparency log