Expands the existing Django TestCase class with extra functionality.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_expanded_test_cases-0.8.1.tar.gz.
File metadata
- Download URL: django_expanded_test_cases-0.8.1.tar.gz
- Upload date:
- Size: 179.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1ae19cebc97ba58054e27c7ef6b37a196c7207ba1750f881032317cbb5972f0
|
|
| MD5 |
dc2993e130db3128fbcb4c749c337c79
|
|
| BLAKE2b-256 |
abd0f1dfe9b2376657d9d3a932302dbc7010b881bd1728403105ecebd921a533
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_expanded_test_cases-0.8.1.tar.gz -
Subject digest:
c1ae19cebc97ba58054e27c7ef6b37a196c7207ba1750f881032317cbb5972f0 - Sigstore transparency entry: 163233027
- Sigstore integration time:
-
Permalink:
brodriguez8774/django-expanded-test-cases@94cd132b9c5553e4e22e4346324a54443c980a89 -
Branch / Tag:
refs/tags/0.8.1 - Owner: https://github.com/brodriguez8774
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@94cd132b9c5553e4e22e4346324a54443c980a89 -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_expanded_test_cases-0.8.1-py3-none-any.whl.
File metadata
- Download URL: django_expanded_test_cases-0.8.1-py3-none-any.whl
- Upload date:
- Size: 68.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22f338bcd6053528810d9f0d5d4ab1d4057c0342fea4195b04a5be07fa58a385
|
|
| MD5 |
4f0cac74b5c2d88611a1568a337d5ffd
|
|
| BLAKE2b-256 |
baaf4b513f145f7d7ff3dcdf9297b9051b34c2477034dc274495aaa3e4ced807
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_expanded_test_cases-0.8.1-py3-none-any.whl -
Subject digest:
22f338bcd6053528810d9f0d5d4ab1d4057c0342fea4195b04a5be07fa58a385 - Sigstore transparency entry: 163233028
- Sigstore integration time:
-
Permalink:
brodriguez8774/django-expanded-test-cases@94cd132b9c5553e4e22e4346324a54443c980a89 -
Branch / Tag:
refs/tags/0.8.1 - Owner: https://github.com/brodriguez8774
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@94cd132b9c5553e4e22e4346324a54443c980a89 -
Trigger Event:
push
-
Statement type: