django-expanded-test-cases


Namedjango-expanded-test-cases JSON
Version 0.7.1 PyPI version JSON
download
home_pagehttps://github.com/brodriguez8774/django-expanded-test-cases
SummaryExpands the existing Django TestCase class with extra functionality.
upload_time2024-06-03 10:41:16
maintainerNone
docs_urlNone
authorBrandon Rodriguez
requires_python>=3.7
licenseMIT License Copyright (c) 2022 Brandon Rodriguez Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords django testcases tests unittest unittesting
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Django Expanded Test Cases

[![Documentation Status](https://readthedocs.org/projects/django-expanded-test-cases/badge/?version=latest)](https://django-expanded-test-cases.readthedocs.io/en/latest/?badge=latest)
[![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.7-brightgreen)](https://img.shields.io/badge/python-%3E%3D3.7-brightgreen)
[![Django Versions](https://img.shields.io/badge/django-%3E%3D3-brightgreen)](https://img.shields.io/badge/django-%3E%3D3-brightgreen)
[![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/).


## 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": "https://github.com/brodriguez8774/django-expanded-test-cases",
    "name": "django-expanded-test-cases",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Brandon Rodriguez <brodriguez8774@gmail.com>",
    "keywords": "django, testcases, tests, unittest, unittesting",
    "author": "Brandon Rodriguez",
    "author_email": "Brandon Rodriguez <brodriguez8774@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ea/49/840764c2f5c8c3208ef825d6b4941870ae944fb4d22728cfa62bddedf1bd/django_expanded_test_cases-0.7.1.tar.gz",
    "platform": null,
    "description": "# Django Expanded Test Cases\n\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[![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.7-brightgreen)](https://img.shields.io/badge/python-%3E%3D3.7-brightgreen)\n[![Django Versions](https://img.shields.io/badge/django-%3E%3D3-brightgreen)](https://img.shields.io/badge/django-%3E%3D3-brightgreen)\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/).\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",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022 Brandon Rodriguez  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Expands the existing Django TestCase class with extra functionality.",
    "version": "0.7.1",
    "project_urls": {
        "Homepage": "https://github.com/brodriguez8774/django-expanded-test-cases"
    },
    "split_keywords": [
        "django",
        " testcases",
        " tests",
        " unittest",
        " unittesting"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a6efbe5ddddf89cac26832cb9bf42fd78aa2934f71fdee38efe76a7bb89d0aed",
                "md5": "2f1550711b7a29fbf843623e7fe51944",
                "sha256": "11c2c7cb48155085179df31b3409b276ff74e9df9594ce4c29860586eaecaf2a"
            },
            "downloads": -1,
            "filename": "django_expanded_test_cases-0.7.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2f1550711b7a29fbf843623e7fe51944",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 110205,
            "upload_time": "2024-06-03T10:41:15",
            "upload_time_iso_8601": "2024-06-03T10:41:15.394068Z",
            "url": "https://files.pythonhosted.org/packages/a6/ef/be5ddddf89cac26832cb9bf42fd78aa2934f71fdee38efe76a7bb89d0aed/django_expanded_test_cases-0.7.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ea49840764c2f5c8c3208ef825d6b4941870ae944fb4d22728cfa62bddedf1bd",
                "md5": "5686b649bf9fdf2b9c49a7e667eab60c",
                "sha256": "2f65730897e4adf625c7718b539675de3117297984a92f022b8527af8ecf28f6"
            },
            "downloads": -1,
            "filename": "django_expanded_test_cases-0.7.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5686b649bf9fdf2b9c49a7e667eab60c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 101212,
            "upload_time": "2024-06-03T10:41:16",
            "upload_time_iso_8601": "2024-06-03T10:41:16.830339Z",
            "url": "https://files.pythonhosted.org/packages/ea/49/840764c2f5c8c3208ef825d6b4941870ae944fb4d22728cfa62bddedf1bd/django_expanded_test_cases-0.7.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-03 10:41:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "brodriguez8774",
    "github_project": "django-expanded-test-cases",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "django-expanded-test-cases"
}
        
Elapsed time: 2.48250s