Regression test enhancement for the Python *unittest* framework
.. image:: https://github.com/sonntagsgesicht/regtest/actions/workflows/python-package.yml/badge.svg
:target: https://github.com/sonntagsgesicht/regtest/actions/workflows/python-package.yml
:alt: GitHubWorkflow
.. image:: https://img.shields.io/readthedocs/regtest
:target: http://regtest.readthedocs.io
:alt: Read the Docs
.. image:: https://img.shields.io/github/license/sonntagsgesicht/regtest
:target: https://github.com/sonntagsgesicht/regtest/raw/master/LICENSE
:alt: GitHub
.. image:: https://img.shields.io/github/release/sonntagsgesicht/regtest?label=github
:target: https://github.com/sonntagsgesicht/regtest/releases
:alt: GitHub release
.. image:: https://img.shields.io/pypi/v/regtest
:target: https://pypi.org/project/regtest/
:alt: PyPI Version
.. image:: https://img.shields.io/pypi/pyversions/regtest
:target: https://pypi.org/project/regtest/
:alt: PyPI - Python Version
.. image:: https://pepy.tech/badge/regtest
:target: https://pypi.org/project/regtest/
:alt: PyPI Downloads
Writing tests is important
(see `here <https://auxilium.readthedocs.io/en/latest/intro.html>`_).
And when it comes to an existing and running application even more.
Existing results must at any chance be reproduced (*like-for-like* tests).
An easy way to add many test cases
is by invoking the application and its subroutines many times.
But taking notes (and hardcoding) of all results is annoying.
Here **regtest** might help.
Simply, write routines that invoke our application.
The initial run will collect and store return values in files.
The next time (and at any time these routines run) the return values
will be checked against the stored ones.
To reset a routine simply remove the corresponding file
(named accordingly) of stored reference data.
The next time the reference data will be rebuild.
Raw data
{
"_id": null,
"home_page": "https://github.com/sonntagsgesicht/regtest",
"name": "regtest",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "sonntagsgesicht",
"author_email": "sonntagsgesicht@icloud.com",
"download_url": "https://files.pythonhosted.org/packages/f1/00/ce422855fcde2bf89c8b25b624d8c2add4fede7667df30232620f7a131c3/regtest-0.3.3.zip",
"platform": "any",
"description": "\n\nRegression test enhancement for the Python *unittest* framework\n\n.. image:: https://github.com/sonntagsgesicht/regtest/actions/workflows/python-package.yml/badge.svg\n :target: https://github.com/sonntagsgesicht/regtest/actions/workflows/python-package.yml\n :alt: GitHubWorkflow\n\n.. image:: https://img.shields.io/readthedocs/regtest\n :target: http://regtest.readthedocs.io\n :alt: Read the Docs\n\n.. image:: https://img.shields.io/github/license/sonntagsgesicht/regtest\n :target: https://github.com/sonntagsgesicht/regtest/raw/master/LICENSE\n :alt: GitHub\n\n.. image:: https://img.shields.io/github/release/sonntagsgesicht/regtest?label=github\n :target: https://github.com/sonntagsgesicht/regtest/releases\n :alt: GitHub release\n\n.. image:: https://img.shields.io/pypi/v/regtest\n :target: https://pypi.org/project/regtest/\n :alt: PyPI Version\n\n.. image:: https://img.shields.io/pypi/pyversions/regtest\n :target: https://pypi.org/project/regtest/\n :alt: PyPI - Python Version\n\n.. image:: https://pepy.tech/badge/regtest\n :target: https://pypi.org/project/regtest/\n :alt: PyPI Downloads\n\n\nWriting tests is important\n(see `here <https://auxilium.readthedocs.io/en/latest/intro.html>`_).\nAnd when it comes to an existing and running application even more.\nExisting results must at any chance be reproduced (*like-for-like* tests).\n\nAn easy way to add many test cases\nis by invoking the application and its subroutines many times.\nBut taking notes (and hardcoding) of all results is annoying.\n\nHere **regtest** might help.\n\nSimply, write routines that invoke our application.\nThe initial run will collect and store return values in files.\nThe next time (and at any time these routines run) the return values\nwill be checked against the stored ones.\n\nTo reset a routine simply remove the corresponding file\n(named accordingly) of stored reference data.\nThe next time the reference data will be rebuild.\n\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "regression test enhancement for the Python unittest framework.",
"version": "0.3.3",
"project_urls": {
"Homepage": "https://github.com/sonntagsgesicht/regtest"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f100ce422855fcde2bf89c8b25b624d8c2add4fede7667df30232620f7a131c3",
"md5": "c4f4540fef804c2135d7f76e88affc37",
"sha256": "c0f9fa744b4752ccc74a6c0897f5925ed13e4f2174131962de455ba7615e38c5"
},
"downloads": -1,
"filename": "regtest-0.3.3.zip",
"has_sig": false,
"md5_digest": "c4f4540fef804c2135d7f76e88affc37",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13508,
"upload_time": "2023-05-05T08:59:02",
"upload_time_iso_8601": "2023-05-05T08:59:02.815460Z",
"url": "https://files.pythonhosted.org/packages/f1/00/ce422855fcde2bf89c8b25b624d8c2add4fede7667df30232620f7a131c3/regtest-0.3.3.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-05 08:59:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sonntagsgesicht",
"github_project": "regtest",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "regtest"
}