Plugin sends nose2 data to Testgr server.
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
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"}'
This project is licensed under the MIT License - see the LICENSE file for details