django-expanded-test-cases


Namedjango-expanded-test-cases JSON
Version 0.7.0 PyPI version JSON
download
home_pagehttps://github.com/brodriguez8774/django-expanded-test-cases
SummaryExpands the existing Django TestCase class with extra functionality.
upload_time2024-02-21 23:32:39
maintainer
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": "",
    "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/b7/09/1483a071a8f5ab217e1678073017cdd59436e7c6305dd661c78856875230/django-expanded-test-cases-0.7.0.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.0",
    "project_urls": {
        "Homepage": "https://github.com/brodriguez8774/django-expanded-test-cases"
    },
    "split_keywords": [
        "django",
        "testcases",
        "tests",
        "unittest",
        "unittesting"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49c80110b0c5531b8689e1e61ef35aeb0003ac9aaac5fefe9d058ad0afb00b5e",
                "md5": "d3d0363c3a221a3ab4a11ec033bee7cb",
                "sha256": "3caa47436be85576e3e326d50ab0780584d76ae95edf2a45c95593ccc27b3c97"
            },
            "downloads": -1,
            "filename": "django_expanded_test_cases-0.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d3d0363c3a221a3ab4a11ec033bee7cb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 101024,
            "upload_time": "2024-02-21T23:32:38",
            "upload_time_iso_8601": "2024-02-21T23:32:38.637865Z",
            "url": "https://files.pythonhosted.org/packages/49/c8/0110b0c5531b8689e1e61ef35aeb0003ac9aaac5fefe9d058ad0afb00b5e/django_expanded_test_cases-0.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b7091483a071a8f5ab217e1678073017cdd59436e7c6305dd661c78856875230",
                "md5": "8234b94b31bdd301de6e9e26e75df367",
                "sha256": "4130206779b323108fc4d228194da756b46c7728cc5f8d25f3bb62186193d388"
            },
            "downloads": -1,
            "filename": "django-expanded-test-cases-0.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8234b94b31bdd301de6e9e26e75df367",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 94614,
            "upload_time": "2024-02-21T23:32:39",
            "upload_time_iso_8601": "2024-02-21T23:32:39.998843Z",
            "url": "https://files.pythonhosted.org/packages/b7/09/1483a071a8f5ab217e1678073017cdd59436e7c6305dd661c78856875230/django-expanded-test-cases-0.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-21 23:32:39",
    "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: 0.23310s