rotest_reportportal
What is it?
A plugin to the Rotest testing framework, that enables reporting the test results to the amazing Report Portal system.
Installation
Install it using pip:
$ pip install rotest_reportportal
Configuration
In the rotest.yml configuration file (or any of the available configuration formats, like .rotest.yaml) add the following entry:
rotest:
<rotest configuration>
reportportal:
endpoint: http://<reportportal_host>:<port>
project: <project name>
For example:
rotest:
...
reportportal:
endpoint: http://reportal:8080/
project: SUPERADMIN_PERSONAL
In addition to that, you need to define the ROTEST_REPORTPORTAL_TOKEN environment variable a user’s UUID. For example:
$ export ROTEST_REPORTPORTAL_TOKEN="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
$ # or, on Windows:
$ set ROTEST_REPORTPORTAL_TOKEN="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
A couple of things about the UUID:
You can obtain it from your user profile: http://{report_portal}:{port}/ui/#user-profile
Tests published with this UUID will identify the user that ran those tests.
Unless you want everyone to be able to publish results for you, keep this UUID a secret (no mentioning in the repository’s code or any public space).
Usage
You can run tests and activate the result handler, in the following way:
$ python <some_test_file> -o reportportal
Metadata
Release files for rotest-reportportal 2.0.1
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 | Actions |
|---|---|---|---|---|
| rotest_reportportal-2.0.1.tar.gz | 4.7 kB | Without provenance | Details for rotest_reportportal-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rotest_reportportal-2.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for rotest_reportportal-2.0.1-py2.py3-none-any.whl |
Total release size: 9.9 kB
Release files / rotest_reportportal-2.0.1.tar.gz
| Download URL | rotest_reportportal-2.0.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54de30788b6822e8781ac23df27b348580bd6ce098cb65ed8942cdc768aeee92
|
|
BLAKE2b-256 checksum How to use checksums |
972849ce9d867b61d2ce91a3e763bb77d6f06d18a0fa4b2458c5987cf5e81af4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / rotest_reportportal-2.0.1-py2.py3-none-any.whl
| Download URL | rotest_reportportal-2.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
56306da5c24b547d9f9d3ff3c91d3c0cbc8a14b14a8bb6ba3124b3cee5459fa7
|
|
BLAKE2b-256 checksum How to use checksums |
fe7ba5ac867ae6e91ae6bf25fbb0376cc5251ec5bc425f01b44848709cae0bd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Security for rotest-reportportal 2.0.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.