A listener that sends a Stack Trace to MS-Teams or Slack where the failure appears.
Project description
robotframework-webhooks
The purpose of this repository is to automatically send only the failed test cases to MS-Teams / Slack as a listener.
by adding an App "WebHook" to your preferable channel, which will generate a URL that you have to use, in order to send the results to your channal immediately. like this
For example
How to
How to Create Incoming Webhooks for MS-Teams or Slack
- I'd recommend to create a virtual environment and clone this repository.
- Then you have to install requirements.txt
pip install -r requirements.txt
- Now you should change the variable "url" inside data.json file to the link that you got.
- finally just run the following command:
robot --listener webhooks test.robot
.features / .todo
- Improvements idea: Make PyPi package which can installed from command line (by Tatu)
-
Did not test it with slack. yet -
Change Message Details / improve -
New way to add URL to End user - Add more ideas in here!! maybe Discord? because I guess it's possible.
- only test it on Windows. Is it necessary for mac or linux? or irrelevant
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework-webhooks-0.1.1.tar.gz.
File metadata
- Download URL: robotframework-webhooks-0.1.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0c5ee9ccf0f296848848ad179f2fe6322623b775199d8b7a12862d9e46fafa1
|
|
| MD5 |
e27cee6d31b70abdf2fef17e951e1325
|
|
| BLAKE2b-256 |
da65c769c7d382d81132835b989efc66f6fc7f6167015bbc41cedba36d469e9e
|
File details
Details for the file robotframework_webhooks-0.1.1-py3-none-any.whl.
File metadata
- Download URL: robotframework_webhooks-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c82049e8226e17afc66b875f5f4f7bd8c85cabbb98d2e9c51f2d8ff8d46189b
|
|
| MD5 |
3e9649aede8a6bfae6b80739d0c755fe
|
|
| BLAKE2b-256 |
48476340dcc416b190d554eb9c2f2197894c70f4a754d4d34b8296855d089b2a
|