Skip to main content

pytest data collector plugin for Testgr

Project description

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

License

This project is licensed under the MIT License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-rt-1.3.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

pytest_rt-1.3.2-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page