A pytest plugin to send a report and printing summary of tests.
Project description
pytest-chic-report
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-chic-report
You need require plugin in a test module or a conftest.py
pytest_plugins = ["pytest_chic_report.plugin"]
The following options are available for the pytest-chic-report 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
Short summary in the Teams
Short summary in the terminal
The link to additional informations here
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pytest-chic-report-2.0.0.tar.gz
.
File metadata
- Download URL: pytest-chic-report-2.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64d9e756d0dff276fc25011e25e88c16cd61d882fda71b2335746853c33632cd |
|
MD5 | 838a202a60024d0d884e2a6190a97fce |
|
BLAKE2b-256 | 45f05ac2d22e54ce52740d0f17283e38ed6480caf944ca918df501c0b308a389 |