# Django Expanded Test Cases
[![PyPI](https://img.shields.io/pypi/v/django-expanded-test-cases?color=blue)](https://img.shields.io/pypi/v/django-expanded-test-cases?color=blue)
[![Python Versions](https://img.shields.io/badge/python-%3E%3D3.6-brightgreen)](https://img.shields.io/badge/python-%3E%3D3.6-brightgreen)
[![Django Versions](https://img.shields.io/badge/django-%3E%3D2.2-brightgreen)](https://img.shields.io/badge/django-%3E%3D2.2-brightgreen)
[![Run Tests](https://github.com/brodriguez8774/django-expanded-test-cases/actions/workflows/test.yaml/badge.svg)](https://github.com/brodriguez8774/django-expanded-test-cases/actions/workflows/test.yaml)
[![Coverage Status](https://coveralls.io/repos/github/brodriguez8774/django-expanded-test-cases/badge.svg?branch=main)](https://coveralls.io/github/brodriguez8774/django-expanded-test-cases?branch=main)
[![Documentation Status](https://readthedocs.org/projects/django-expanded-test-cases/badge/?version=latest)](https://django-expanded-test-cases.readthedocs.io/en/latest/?badge=latest)
[![GitHub](https://img.shields.io/github/license/brodriguez8774/django-expanded-test-cases)](https://img.shields.io/github/license/brodriguez8774/django-expanded-test-cases)
[![PyPI Downloads per Month](https://img.shields.io/pypi/dm/django-expanded-test-cases.svg)](https://pypi.python.org/pypi/django-expanded-test-cases)
## Description
Expands the existing [Django](https://docs.djangoproject.com/en/dev/)
[TestCase class](https://docs.djangoproject.com/en/dev/topics/testing/overview/) with extra functionality.
Different TestCase classes are provided, each providing separate sets of functionality.
For full documentation, see [ReadTheDocs](https://django-expanded-test-cases.readthedocs.io/en/latest/).
For changes in the latest version, see [ReadTheDocs - Version History](https://django-expanded-test-cases.readthedocs.io/en/latest/version_history.html).
## Example ETC Debug Output on UnitTest Error
A main functionality that **ExpandedTestCases** provides is verbose response debug info on UnitTest errors.<br>
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](https://user-images.githubusercontent.com/14208531/231304818-fb0dbe31-ead9-4de8-8efe-a3fc858cbddd.png)
## 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.
Raw data
{
"_id": null,
"home_page": null,
"name": "django-expanded-test-cases",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "Brandon Rodriguez <brodriguez8774@gmail.com>",
"keywords": "django, testcases, tests, unittest, unittesting",
"author": null,
"author_email": "Brandon Rodriguez <brodriguez8774@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/ab/d0/f1dfe9b2376657d9d3a932302dbc7010b881bd1728403105ecebd921a533/django_expanded_test_cases-0.8.1.tar.gz",
"platform": null,
"description": "# Django Expanded Test Cases\n\n\n[![PyPI](https://img.shields.io/pypi/v/django-expanded-test-cases?color=blue)](https://img.shields.io/pypi/v/django-expanded-test-cases?color=blue)\n[![Python Versions](https://img.shields.io/badge/python-%3E%3D3.6-brightgreen)](https://img.shields.io/badge/python-%3E%3D3.6-brightgreen)\n[![Django Versions](https://img.shields.io/badge/django-%3E%3D2.2-brightgreen)](https://img.shields.io/badge/django-%3E%3D2.2-brightgreen)\n[![Run Tests](https://github.com/brodriguez8774/django-expanded-test-cases/actions/workflows/test.yaml/badge.svg)](https://github.com/brodriguez8774/django-expanded-test-cases/actions/workflows/test.yaml)\n[![Coverage Status](https://coveralls.io/repos/github/brodriguez8774/django-expanded-test-cases/badge.svg?branch=main)](https://coveralls.io/github/brodriguez8774/django-expanded-test-cases?branch=main)\n[![Documentation Status](https://readthedocs.org/projects/django-expanded-test-cases/badge/?version=latest)](https://django-expanded-test-cases.readthedocs.io/en/latest/?badge=latest)\n[![GitHub](https://img.shields.io/github/license/brodriguez8774/django-expanded-test-cases)](https://img.shields.io/github/license/brodriguez8774/django-expanded-test-cases)\n[![PyPI Downloads per Month](https://img.shields.io/pypi/dm/django-expanded-test-cases.svg)](https://pypi.python.org/pypi/django-expanded-test-cases)\n\n\n## Description\n\nExpands the existing [Django](https://docs.djangoproject.com/en/dev/)\n[TestCase class](https://docs.djangoproject.com/en/dev/topics/testing/overview/) with extra functionality.\n\nDifferent TestCase classes are provided, each providing separate sets of functionality.\n\n\nFor full documentation, see [ReadTheDocs](https://django-expanded-test-cases.readthedocs.io/en/latest/).\nFor changes in the latest version, see [ReadTheDocs - Version History](https://django-expanded-test-cases.readthedocs.io/en/latest/version_history.html).\n\n\n## Example ETC Debug Output on UnitTest Error\nA main functionality that **ExpandedTestCases** provides is verbose response debug info on UnitTest errors.<br>\nBelow is an example of such output, when a test fails while checking the `<h1>` tag for a very simple page.\n\n![ETC Error Debug Output Screenshot](https://user-images.githubusercontent.com/14208531/231304818-fb0dbe31-ead9-4de8-8efe-a3fc858cbddd.png)\n\n\n## Installation\n\nInstall with\n\n pip install django-expanded-test-cases\n\nFor full color output, also install\n\n pip install colorama\n\n## Package Development & Running Project Tests\n\nAs standard for Python development, this project has its own testing to ensure it functions as desired.\nAfter installing dependencies, everything required to run tests are provided in one of two files:\n* To run tests via standard django `python manage.py test`, execute the `<project_root>/runtests.py` file.\n* To run tests via `pytest`, execute the `<project_root>/runpytests.py` file.\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Expands the existing Django TestCase class with extra functionality.",
"version": "0.8.1",
"project_urls": {
"Bug Tracker": "https://github.com/brodriguez8774/django-expanded-test-cases/issues",
"Documentation": "https://django-expanded-test-cases.readthedocs.io/en/latest/",
"Homepage": "https://github.com/brodriguez8774/django-expanded-test-cases",
"Source Code": "https://github.com/brodriguez8774/django-expanded-test-cases"
},
"split_keywords": [
"django",
" testcases",
" tests",
" unittest",
" unittesting"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "baaf4b513f145f7d7ff3dcdf9297b9051b34c2477034dc274495aaa3e4ced807",
"md5": "4f0cac74b5c2d88611a1568a337d5ffd",
"sha256": "22f338bcd6053528810d9f0d5d4ab1d4057c0342fea4195b04a5be07fa58a385"
},
"downloads": -1,
"filename": "django_expanded_test_cases-0.8.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4f0cac74b5c2d88611a1568a337d5ffd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 68024,
"upload_time": "2025-01-17T15:43:56",
"upload_time_iso_8601": "2025-01-17T15:43:56.905869Z",
"url": "https://files.pythonhosted.org/packages/ba/af/4b513f145f7d7ff3dcdf9297b9051b34c2477034dc274495aaa3e4ced807/django_expanded_test_cases-0.8.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "abd0f1dfe9b2376657d9d3a932302dbc7010b881bd1728403105ecebd921a533",
"md5": "dc2993e130db3128fbcb4c749c337c79",
"sha256": "c1ae19cebc97ba58054e27c7ef6b37a196c7207ba1750f881032317cbb5972f0"
},
"downloads": -1,
"filename": "django_expanded_test_cases-0.8.1.tar.gz",
"has_sig": false,
"md5_digest": "dc2993e130db3128fbcb4c749c337c79",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 179372,
"upload_time": "2025-01-17T15:43:58",
"upload_time_iso_8601": "2025-01-17T15:43:58.520519Z",
"url": "https://files.pythonhosted.org/packages/ab/d0/f1dfe9b2376657d9d3a932302dbc7010b881bd1728403105ecebd921a533/django_expanded_test_cases-0.8.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-17 15:43:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "brodriguez8774",
"github_project": "django-expanded-test-cases",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "django-expanded-test-cases"
}