agent-python-nose
Nose plugin for reporting test results of Nose to the 'Reportal Portal'.
- Usage
- Configuration
- Launching
- Copyright Notice
- Changes
Usage
Installation
To install nose plugin execute next command in a terminal:
pip install nose-reportportal
Configuration
Prepare the config file rp.ini in root directory of tests
The rp.ini file should have next mandatory fields:
rp_uuid - value could be found in the User Profile section
rp_project - name of project in Report Potal
rp_endpoint - address of Report Portal Server, can be found in a environment variable "RP_ENDPOINT" after tests' run
rp_launch - name of a launch
rp_launch_description - description of a launch
Example of rp.ini:
[base]
rp_uuid = fb586627-32be-47dd-93c1-678873458a5f
rp_endpoint = http://192.168.1.10:8080
rp_project = user_personal
rp_launch = AnyLaunchName {}
rp_launch_tags = Nose;Smoke
rp_launch_description = Smoke test
You need to add --rp-config-file to point to config file:
--rp-config-file rp.ini
If you like to override some of parameters above from command line, or from CI environment based on your build, then pass
--rp-launch to change launch name.
--rp-mode to change mode of run report portal agent
--rp-launch-description to change description of a launch
--ignore-loggers tto ignore external loggers and not send them in report portal. Specify which statements to filter. If the output is too verbose, use this option to filter out needless output.
Example:
filter=foo will capture statements issued ONLY to foo or foo.what.ever.sub but not foobar or other logger.
Specify multiple loggers with comma: filter=foo,bar,baz.
If any logger name is prefixed with a minus, eg filter=-foo, it will be excluded rather than included.
The following loggers are ignored 'nose' 'reportportal_client.service_async' 'reportportal_client.service' , 'nose_reportportal.plugin' 'nose_reportportal.service' 'urllib3.connectionpool' by default.
Launching
To run test with Report Portal you must provide '--with-reportportal' flag:
nosetests --with-reportportal --rp-config-file rp.ini
Copyright Notice
Copyright Notice: https://github.com/reportportal/agent-python-nosetests#copyright-notice
Licensed under the Apache License Version 2.0, license (see the LICENSE file).
Apache License Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Changes
Changes in version 1.0.0
- updated version to support RP 5.0
Changes in version 0.0.6 and 0.0.7
- freezed version of python client for RP 4.0
Changes in version 0.0.5
- fixed problem with importing of LogCapture
Changes in version 0.0.4
- fixed bug with handling of skip status of a test
- added argument to ignore loggers
Changes in version 0.0.3
- a safe logs-sender was added on a stop test phase
Changes in version 0.0.2
- Added updated capturing for output and logs
- Added environment variable "RP_ENDPOINT" to exclude RP url from url-mockers if it is needed
Metadata
Release files for nose-reportportal 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nose-reportportal-1.0.0.tar.gz | 9.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nose_reportportal-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 24.2 kB
Release files / nose-reportportal-1.0.0.tar.gz
| Download URL | nose-reportportal-1.0.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b724bb97286fe1fbc14ed3fa96d89bb87be2354d7a524c0e3994a3223045bfd
|
|
BLAKE2b-256 checksum How to use checksums |
39e87ad8fbea67741be2c7239db59eacd138c09678de7382d6db2537b7d7d62c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7
|
Release files / nose_reportportal-1.0.0-py2.py3-none-any.whl
| Download URL | nose_reportportal-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
de55cadd1ab39b98231d3a5b3bbf0196fcce21da9834a6a08ea693b3f445665a
|
|
BLAKE2b-256 checksum How to use checksums |
00434893eec6fb1021a0f01ef38a69056672fe0b874e54fd9e37c0263e255afe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7
|
Security for nose-reportportal 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.