easy-regression


Nameeasy-regression JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/DeepanCoder/easy_regression
SummaryA tool for running and analyzing regression tests
upload_time2024-09-10 04:37:10
maintainerNone
docs_urlNone
authorDeepan Kumar S
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Deepan's Regression Tool

## Overview

Deepan's Regression Tool is designed to automate regression testing by running commands specified in an Excel file and logging the results. This tool is especially useful for managing large-scale testing environments where multiple test cases need to be executed and monitored.

## Features

- Executes commands specified in an Excel file.
- Logs the results of each command.
- Handles various error scenarios and retries failed commands.
- Updates the Excel file with the status of each command.

## License

This tool is licensed under the GNU General Public License v3.0. For more details, visit: [GNU GPL v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).

## Installation

To use this tool, install it via pip:

```sh
pip3 install deepan_regression_tool
```
## Prerequisites
- Python >=3.9
- openpyxl
- Linux operating system

## Usage
Importing the Module
After installation, you can import the module as follows:
```python
import deepan_regression_tool
```
## Running Regression
To run the regression, use the run_regression function provided by the module.

```python
import deepan_regression_tool

def check_results (input1, input2):
    ...
    ...
    ...
    return [flag, status]

deepan_regression_tool.check_results = check_results

deepan_regression_tool.regression(json_file_name,number_of_iteratables,max_bit_widths1,max_bait_widths2,iteratable_freq,random_iteratable_values,timeout_for_run_command)

help = deepan_regression_tool.HELP_MESSAGE
```
flag can take boolean values - True,Flase
status can take string values - PASS,FAIL,terminate,try_again,clean_db_try_again

## Fair Use
This tool is provided as-is under the GNU General Public License v3.0. You are free to use, modify, and distribute this tool, provided that you adhere to the terms of the license. For more details, visit: GNU GPL v3.0.

## Contact
For questions or suggestions, please open an issue on the GitHub repository.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DeepanCoder/easy_regression",
    "name": "easy-regression",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Deepan Kumar S",
    "author_email": "deepankumar2602@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/33/19/1ac99df4886f7dce42ea32332603d6d6046a703463e8c06b4938fa6fa804/easy_regression-0.1.1.tar.gz",
    "platform": null,
    "description": "# Deepan's Regression Tool\r\n\r\n## Overview\r\n\r\nDeepan's Regression Tool is designed to automate regression testing by running commands specified in an Excel file and logging the results. This tool is especially useful for managing large-scale testing environments where multiple test cases need to be executed and monitored.\r\n\r\n## Features\r\n\r\n- Executes commands specified in an Excel file.\r\n- Logs the results of each command.\r\n- Handles various error scenarios and retries failed commands.\r\n- Updates the Excel file with the status of each command.\r\n\r\n## License\r\n\r\nThis tool is licensed under the GNU General Public License v3.0. For more details, visit: [GNU GPL v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).\r\n\r\n## Installation\r\n\r\nTo use this tool, install it via pip:\r\n\r\n```sh\r\npip3 install deepan_regression_tool\r\n```\r\n## Prerequisites\r\n- Python >=3.9\r\n- openpyxl\r\n- Linux operating system\r\n\r\n## Usage\r\nImporting the Module\r\nAfter installation, you can import the module as follows:\r\n```python\r\nimport deepan_regression_tool\r\n```\r\n## Running Regression\r\nTo run the regression, use the run_regression function provided by the module.\r\n\r\n```python\r\nimport deepan_regression_tool\r\n\r\ndef check_results (input1, input2):\r\n    ...\r\n    ...\r\n    ...\r\n    return [flag, status]\r\n\r\ndeepan_regression_tool.check_results = check_results\r\n\r\ndeepan_regression_tool.regression(json_file_name,number_of_iteratables,max_bit_widths1,max_bait_widths2,iteratable_freq,random_iteratable_values,timeout_for_run_command)\r\n\r\nhelp = deepan_regression_tool.HELP_MESSAGE\r\n```\r\nflag can take boolean values - True,Flase\r\nstatus can take string values - PASS,FAIL,terminate,try_again,clean_db_try_again\r\n\r\n## Fair Use\r\nThis tool is provided as-is under the GNU General Public License v3.0. You are free to use, modify, and distribute this tool, provided that you adhere to the terms of the license. For more details, visit: GNU GPL v3.0.\r\n\r\n## Contact\r\nFor questions or suggestions, please open an issue on the GitHub repository.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A tool for running and analyzing regression tests",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/DeepanCoder/easy_regression"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d133026cfe127e199b091aa4240dc19f50a5c405c92787c11dbdbd6922fc238",
                "md5": "2041dfffd4dc7bcd49ed943fc5a759ce",
                "sha256": "11fb32e782403d79ca81a72176671b14a26ed700e1b3b18d5dc951d36a86cad2"
            },
            "downloads": -1,
            "filename": "easy_regression-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2041dfffd4dc7bcd49ed943fc5a759ce",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 490504,
            "upload_time": "2024-09-10T04:37:08",
            "upload_time_iso_8601": "2024-09-10T04:37:08.359624Z",
            "url": "https://files.pythonhosted.org/packages/2d/13/3026cfe127e199b091aa4240dc19f50a5c405c92787c11dbdbd6922fc238/easy_regression-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33191ac99df4886f7dce42ea32332603d6d6046a703463e8c06b4938fa6fa804",
                "md5": "3138029201a676967ec25e6fcfb1a93c",
                "sha256": "36e0db121e928454960ace8c8eda6b382be357b03856bdaed5c6fd05b27dd3f1"
            },
            "downloads": -1,
            "filename": "easy_regression-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3138029201a676967ec25e6fcfb1a93c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 490599,
            "upload_time": "2024-09-10T04:37:10",
            "upload_time_iso_8601": "2024-09-10T04:37:10.556907Z",
            "url": "https://files.pythonhosted.org/packages/33/19/1ac99df4886f7dce42ea32332603d6d6046a703463e8c06b4938fa6fa804/easy_regression-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-10 04:37:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DeepanCoder",
    "github_project": "easy_regression",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "easy-regression"
}
        
Elapsed time: 0.32332s