Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/and-sm/pytest-rt
Plugin for sending HTTP POST pytest updates to your Testgr service
https://github.com/and-sm/pytest-rt
automation pytest pytest-plugin python3 selenium
Last synced: about 1 month ago
JSON representation
Plugin for sending HTTP POST pytest updates to your Testgr service
- Host: GitHub
- URL: https://github.com/and-sm/pytest-rt
- Owner: and-sm
- License: mit
- Created: 2018-09-27T19:56:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-05T13:50:57.000Z (almost 3 years ago)
- Last Synced: 2024-12-15T05:38:04.575Z (2 months ago)
- Topics: automation, pytest, pytest-plugin, python3, selenium
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pytest-rt - pytest data collector for Testgr
Plugin sends pytest data to Testgr server.
### Setup
```pip install pytest-rt```
### Launch
```
pytest --rt --rtu="http://your_testgr_url/loader" -> will launch pytest with pytest-rt plugin.
```
Additional parameters:* --rte "your_environment" -> Send your environment name as additional data to the Testgr server.
* --rt-job-report - Enable email sending after job finish.
* --rt-return-job - Write last finished job UUID in testgr_last_job.txt file.
* --rt-custom-data - Send any custom data to the Testgr in dict format. Example:
```
--rt-custom data='{"Git":"dev-branch"}'
```
* --rt-custom-id - requirement for pytest-xdist plugin. Use with random ID.
```
--rt-custom-id="unique_id"
```## Authors
[**Andrey Smirnov**](https://github.com/and-sm)## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details