https://github.com/and-sm/nose2rt
Plugin for sending HTTP POST nose2 updates to your Testgr service
https://github.com/and-sm/nose2rt
automation nose nose2 nosetests python3 selenium unittest
Last synced: about 2 months ago
JSON representation
Plugin for sending HTTP POST nose2 updates to your Testgr service
- Host: GitHub
- URL: https://github.com/and-sm/nose2rt
- Owner: and-sm
- License: mit
- Created: 2018-08-29T05:57:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-04T20:58:45.000Z (almost 5 years ago)
- Last Synced: 2025-03-03T07:19:32.828Z (over 1 year ago)
- Topics: automation, nose, nose2, nosetests, python3, selenium, unittest
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nose2rt - nose2 data collector for Testgr
Plugin sends nose2 data to Testgr server.
### Setup
```pip install nose2rt```
Find your nose2 config file and configure as described below.
Example:
```
[unittest]
plugins = nose2rt.rt
[rt]
endpoint = http://127.0.0.1/loader # Your Testgr service URL
screenshots_var = t_screen
return_job_file = testgr_last_job.txt
show_errors = True # show POST errors
[test-result]
always-on = True
descriptions = True
```
### Launch
```
nose2 --rt -> will launch nose2 with nose2rt plugin.
```
Additional parameters:
* --rte "your_environment" -> will launch nose2 and send your environment name as additional info to the Testgr server.
* --rt-job-report - send email after job finish.
* --rt-return-job - write last finished job UUID in file, configured by "return_job_file" config variable.
* --rt-custom-data - send any custom data to Testgr in Dict format. Example:
```
--rt-custom data='{"Git":"dev-branch"}'
```
## Authors
[**Andrey Smirnov**](https://github.com/and-sm)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details