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.
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.py
file. - To run tests via
pytest
, execute the<project_root>/runpytests.py
file.
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
File details
Details for the file django-expanded-test-cases-0.6.5.tar.gz
.
File metadata
- Download URL: django-expanded-test-cases-0.6.5.tar.gz
- Upload date:
- Size: 93.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e04cd59a079f76a4f7a56a49bbf22aa0e244fa1ce16c88abd5c0edd6b4738f2e |
|
MD5 | eb75227d2b15c986005486c89a5a737f |
|
BLAKE2b-256 | 7a87157777f56ba2a834117ade74039d596edf91ecbe48ac98789bf4cd0a6ba1 |
File details
Details for the file django_expanded_test_cases-0.6.5-py3-none-any.whl
.
File metadata
- Download URL: django_expanded_test_cases-0.6.5-py3-none-any.whl
- Upload date:
- Size: 100.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbf3d0f45f6caffda4f47d8359e3da61a8228f850697cf980159df6a1012ada |
|
MD5 | 28d118b2830fe7b28557721af0b1f2da |
|
BLAKE2b-256 | bec6a681036274aa76a64fb5a69f8a90179f13954d6872ac4f177e26e6238f11 |