pyGATs


NamepyGATs JSON
Version 0.0.11 PyPI version JSON
download
home_pageNone
SummaryAutomate end-to-end and exploratory testing
upload_time2024-04-24 15:22:46
maintainerNone
docs_urlNone
authorvsysoev
requires_python>=3.7
licenseMIT License Copyright (c) 2022 IntegraSDL 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 gui testing automatic
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyGATs

[![Pylint](https://github.com/IntegraSDL/pygats/actions/workflows/pylint.yml/badge.svg)](https://github.com/IntegraSDL/pygats/actions/workflows/pylint.yml)
[![Python package](https://github.com/IntegraSDL/pygats/actions/workflows/python-package.yml/badge.svg)](https://github.com/IntegraSDL/pygats/actions/workflows/python-package.yml)
[![Upload Python Package](https://github.com/IntegraSDL/pygats/actions/workflows/python-publish.yml/badge.svg)](https://github.com/IntegraSDL/pygats/actions/workflows/python-publish.yml)

**This library is in development process. API is not stabilized yet. It will
be completely changed soon.**


This is python3 library which combines power of pyautogui, opencv, tesseract, 
markdown and other staff to automate end-to-end and exploratory testing.

This library might be used to automate testing process with Xvbf and docker.

pyGATs depends on pyautogui, pytesseract, opencv and others. Please see section
dependencies in pyproject.toml file.


## How to test

```
python3 -m pytest
```

## Linter

```
pylint $(git ls-files '*.py')
```
## Build documentation

```
cd docs
make html
```

# Example Usage

```python
import pygats.pygats as pygats
import pygats.recog as recog

from pygats.formatters import MarkdownFormatter as MD


ctx = pygats.Context(MD())


def test_launch_app():
    pygats.begin_test(ctx, "Checking registration and launch of the application")
    ...

def test_login():
    pygats.begin_test(ctx, "Verification of the implementation of login identification and password authentication")
    ...

...

test_suites = [
    test_launch_app,
    test_login,
    ...
]


if __name__ == '__main__':
    pygats.suite(ctx, "report_directory", "Test case")
    pygats.run(test_suites)

```

As a result of executing the script, we get a report in Markdown format in the "output" directory

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyGATs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "gui, testing, automatic",
    "author": "vsysoev",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/bb/e0/4032fafe6a8cd4b8baf69b43383888cf89bc9ca130aa39b31e66084e4100/pygats-0.0.11.tar.gz",
    "platform": null,
    "description": "# pyGATs\n\n[![Pylint](https://github.com/IntegraSDL/pygats/actions/workflows/pylint.yml/badge.svg)](https://github.com/IntegraSDL/pygats/actions/workflows/pylint.yml)\n[![Python package](https://github.com/IntegraSDL/pygats/actions/workflows/python-package.yml/badge.svg)](https://github.com/IntegraSDL/pygats/actions/workflows/python-package.yml)\n[![Upload Python Package](https://github.com/IntegraSDL/pygats/actions/workflows/python-publish.yml/badge.svg)](https://github.com/IntegraSDL/pygats/actions/workflows/python-publish.yml)\n\n**This library is in development process. API is not stabilized yet. It will\nbe completely changed soon.**\n\n\nThis is python3 library which combines power of pyautogui, opencv, tesseract, \nmarkdown and other staff to automate end-to-end and exploratory testing.\n\nThis library might be used to automate testing process with Xvbf and docker.\n\npyGATs depends on pyautogui, pytesseract, opencv and others. Please see section\ndependencies in pyproject.toml file.\n\n\n## How to test\n\n```\npython3 -m pytest\n```\n\n## Linter\n\n```\npylint $(git ls-files '*.py')\n```\n## Build documentation\n\n```\ncd docs\nmake html\n```\n\n# Example Usage\n\n```python\nimport pygats.pygats as pygats\nimport pygats.recog as recog\n\nfrom pygats.formatters import MarkdownFormatter as MD\n\n\nctx = pygats.Context(MD())\n\n\ndef test_launch_app():\n    pygats.begin_test(ctx, \"Checking registration and launch of the application\")\n    ...\n\ndef test_login():\n    pygats.begin_test(ctx, \"Verification of the implementation of login identification and password authentication\")\n    ...\n\n...\n\ntest_suites = [\n    test_launch_app,\n    test_login,\n    ...\n]\n\n\nif __name__ == '__main__':\n    pygats.suite(ctx, \"report_directory\", \"Test case\")\n    pygats.run(test_suites)\n\n```\n\nAs a result of executing the script, we get a report in Markdown format in the \"output\" directory\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022 IntegraSDL  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": "Automate end-to-end and exploratory testing",
    "version": "0.0.11",
    "project_urls": {
        "repository": "https://github.com/IntegraSDL/pymagic-autogui.git"
    },
    "split_keywords": [
        "gui",
        " testing",
        " automatic"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62e6c07dccea7745dfca8d10d422c4bda4e421f8764d36a6eddba50ee3bede85",
                "md5": "f962fc8c36a56cf1afe8b9d91faa6b3c",
                "sha256": "85f48c2d455f3b93a0a93ee4970e9bce91f4d9eb5668d42843ffb6a28d02c298"
            },
            "downloads": -1,
            "filename": "pyGATs-0.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f962fc8c36a56cf1afe8b9d91faa6b3c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 17505,
            "upload_time": "2024-04-24T15:22:44",
            "upload_time_iso_8601": "2024-04-24T15:22:44.949923Z",
            "url": "https://files.pythonhosted.org/packages/62/e6/c07dccea7745dfca8d10d422c4bda4e421f8764d36a6eddba50ee3bede85/pyGATs-0.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bbe04032fafe6a8cd4b8baf69b43383888cf89bc9ca130aa39b31e66084e4100",
                "md5": "f38ae717f1312f7f61144ed315357764",
                "sha256": "a889729f546b1d10300c522f0f01b2552f81242db4962374df88fc5b73ecfc8f"
            },
            "downloads": -1,
            "filename": "pygats-0.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "f38ae717f1312f7f61144ed315357764",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 15600,
            "upload_time": "2024-04-24T15:22:46",
            "upload_time_iso_8601": "2024-04-24T15:22:46.267987Z",
            "url": "https://files.pythonhosted.org/packages/bb/e0/4032fafe6a8cd4b8baf69b43383888cf89bc9ca130aa39b31e66084e4100/pygats-0.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-24 15:22:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "IntegraSDL",
    "github_project": "pymagic-autogui",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "pygats"
}
        
Elapsed time: 0.29937s