pytest-summary


Namepytest-summary JSON
Version 0.1.17 PyPI version JSON
download
home_pagehttps://github.com/Alpaca00/pytest-summary
SummaryA pytest plugin to send a report and printing summary of tests.
upload_time2023-01-04 08:21:28
maintainer
docs_urlNone
authorOleg Matskiv
requires_python
licenseMIT
keywords pytest py.test pytest summary slack teams
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## pytest-summary

This pytest plugin allows you to send a summary of your tests to messengers,
as well as print a summary of the tests in the terminal.

The summary is optional and can be turned on or off as desired.

## Installation
```
pip install pytest-summary
```
**You need require plugin in a test module or a conftest.py**
```
pytest_plugins = ["pytest_summary.plugin"]
```


#### **The following options are available for the pytest-summary plugin:**
```
--terminal_short > True | False
 Printing summary in the terminal.

--terminal_all > True | False
 Printing name of all tests in the terminal.
 
--terminal_failed > True | False
 Printing name of failed tests in the terminal.
 
--terminal_errors > True | False
 Printing name of error tests in the terminal.
 
--ssl_verify > True | False
 Set the TLS certificate verification.
 
--slack_webhook > Incoming WebHooks type of string
 Send a Slack message of summary to a channel via a absolute path of webhook.
 
--teams_webhook > Incoming WebHooks type of string
 Send a Teams message of summary to a channel via a absolute path of webhook.
 
--messenger_failed > True | False
 Adding an additional template of failed list tests to the message.
 
--messenger_errors > True | False
 Adding an additional template of errors list tests to the message.
 
--messenger_all > True | False
 Adding an additional template of list tests to the message.
```
    
#### **Short summary in the Slack**

<img src="./docs/images/pytest-summary-slack.png" width="400" height="200">

#### **Short summary in the Teams**

<img src="./docs/images/pytest-summary-teams.png" width="600" height="250">

#### **Short summary in the terminal**

<img src="./docs/images/pytest-short-summary-terminal.png" width="400" height="300">

#### **The link to additional informations** [here](./docs/details.md)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Alpaca00/pytest-summary",
    "name": "pytest-summary",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pytest,py.test,pytest summary,slack,teams",
    "author": "Oleg Matskiv",
    "author_email": "alpaca00tuha@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/92/0c/77a25822c25ec76f69bccc405940a05cb568d93acf2a6092358536b3d426/pytest-summary-0.1.17.tar.gz",
    "platform": null,
    "description": "## pytest-summary\n\nThis pytest plugin allows you to send a summary of your tests to messengers,\nas well as print a summary of the tests in the terminal.\n\nThe summary is optional and can be turned on or off as desired.\n\n## Installation\n```\npip install pytest-summary\n```\n**You need require plugin in a test module or a conftest.py**\n```\npytest_plugins = [\"pytest_summary.plugin\"]\n```\n\n\n#### **The following options are available for the pytest-summary plugin:**\n```\n--terminal_short > True | False\n Printing summary in the terminal.\n\n--terminal_all > True | False\n Printing name of all tests in the terminal.\n \n--terminal_failed > True | False\n Printing name of failed tests in the terminal.\n \n--terminal_errors > True | False\n Printing name of error tests in the terminal.\n \n--ssl_verify > True | False\n Set the TLS certificate verification.\n \n--slack_webhook > Incoming WebHooks type of string\n Send a Slack message of summary to a channel via a absolute path of webhook.\n \n--teams_webhook > Incoming WebHooks type of string\n Send a Teams message of summary to a channel via a absolute path of webhook.\n \n--messenger_failed > True | False\n Adding an additional template of failed list tests to the message.\n \n--messenger_errors > True | False\n Adding an additional template of errors list tests to the message.\n \n--messenger_all > True | False\n Adding an additional template of list tests to the message.\n```\n    \n#### **Short summary in the Slack**\n\n<img src=\"./docs/images/pytest-summary-slack.png\" width=\"400\" height=\"200\">\n\n#### **Short summary in the Teams**\n\n<img src=\"./docs/images/pytest-summary-teams.png\" width=\"600\" height=\"250\">\n\n#### **Short summary in the terminal**\n\n<img src=\"./docs/images/pytest-short-summary-terminal.png\" width=\"400\" height=\"300\">\n\n#### **The link to additional informations** [here](./docs/details.md)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A pytest plugin to send a report and printing summary of tests.",
    "version": "0.1.17",
    "split_keywords": [
        "pytest",
        "py.test",
        "pytest summary",
        "slack",
        "teams"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "920c77a25822c25ec76f69bccc405940a05cb568d93acf2a6092358536b3d426",
                "md5": "71a60a3abfc06373c1799d6e91205d95",
                "sha256": "8108dc6c5396c2923d62977ed17cbdf52aea40d56d453dbcbf11c15c2a906020"
            },
            "downloads": -1,
            "filename": "pytest-summary-0.1.17.tar.gz",
            "has_sig": false,
            "md5_digest": "71a60a3abfc06373c1799d6e91205d95",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4583,
            "upload_time": "2023-01-04T08:21:28",
            "upload_time_iso_8601": "2023-01-04T08:21:28.243659Z",
            "url": "https://files.pythonhosted.org/packages/92/0c/77a25822c25ec76f69bccc405940a05cb568d93acf2a6092358536b3d426/pytest-summary-0.1.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-04 08:21:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Alpaca00",
    "github_project": "pytest-summary",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pytest-summary"
}
        
Elapsed time: 0.10845s