pytest-messenger
pytest-messenger copied to clipboard
Pytest-messenger report plugin for all popular messengers like: Slack, DingTalk, Telegram
"version": "==2.3.1" I have my pytest.ini file configured to post my pytest results to a specific Slack channel, however, when I use the "Run" option in Pycharm my results are...
the default thumbsup and thumbsdown does not appear in the slack message. Setup: python 3.8, pytest-slack 2.3.1 Command: `python -m pytest -vv -x scan.py --slack_hook=${SLACK_NBE_WEBHOOK}`
I use `pytest --slack_hook=https://hooks.slack.com/services/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 --slack_username=IGNORED --slack_channel='Dave Far'`. The [result](https://i.ibb.co/r5kz4Qg/Screenshot-from-2020-03-24-10-35-55.png) shows "Pytest", not "IGNORED". I tried many strings, also in quotes, but always get "Pytest".
I would like to report how much time it takes to execute the tests as well. I know I could open the reports to view the amount of time it...
If someone is using this plugin and the pytest-rerunfailures, it would be nice that it show up https://github.com/pytest-dev/pytest-rerunfailures
Would be nice if it has mattermost support. Will check quite soon and report back
Configuration file for slack message/emoji must be an as separate file for easy configuring.
Add verbosity level to report pytest details to the slack channel. Verbosity level must be added as an options (--slack_verbose=[1...3]) Levels: 1) only red/green label 2) #1 + number of...