Skip to main content

nose2 data collector for Testgr

Project description

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

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

nose2rt-1.3.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

nose2rt-1.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file nose2rt-1.3.0.tar.gz.

File metadata

  • Download URL: nose2rt-1.3.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for nose2rt-1.3.0.tar.gz
Algorithm Hash digest
SHA256 bcc681800a71157f36ce39556773c1d739b641e09c2e5f2f22f142b9915d8ad1
MD5 c8a865fe841b0990b2437d8e4f72399d
BLAKE2b-256 a9574263e1e5eb02d014a80f3fc8082bdb74fd156702373e28309df6aa7f17be

See more details on using hashes here.

File details

Details for the file nose2rt-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: nose2rt-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for nose2rt-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 279ff35a9f0dc8fa5f440016ced903e37ad3070dac0adbe9db8035b5ba4ef5bc
MD5 1985870c44a9399a640707fbe17daa75
BLAKE2b-256 5f7c8e115972c6b04a8b0c21810d001950b2d0fd6a2bbc1a13bf3ff3907b3ab7

See more details on using hashes here.

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