Agent for Reporting results of tests to the Report Portal
Project description
agent-python-nose
Nose plugin for reporting test results of Nose to the 'Reportal Portal'.
- Usage
- Configuration
- Launching
- Copyright Notice
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
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
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
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
Built Distribution
Hashes for nose_reportportal-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7123c9c3aa67ca7d432b0021863b8941709c0226ea3ae12acc847be2fd32cbd7 |
|
MD5 | e405777e6dd32c0e29cdaaea1a129139 |
|
BLAKE2b-256 | c3e271620549d39d8f20c367a5477e0cf063c77520b66e1801f5b4ad9dfde939 |