A tool for inserting Robot Framework test run results into ReportPortal.
Project description
RPBot
RPBot is a Python script to serialize Robot Framework
output files into
a ReportPortal. This way the future Robot Framework
related tools and
plugins will have a unified storage for the test run results.
RPBot is a fork of DbBot-SQLAlchemy project that is using SQLAlchemy in order to store test run results in any of the major supported database systems.
Requirements
RPBot is tested on
Python
3.5+Robot Framework
4.0+
It may (though it is not guaranteed) work with older versions of dependencies.
How it works
The script takes one or more output.xml
files as input, and stores
the respective results into a ReportPortal
Installation
This tool is installed with pip with command:
$ pip install rpbot
Alternatively you can download the source distribution
, extract it and
install using:
$ python setup.py install
Usage
$ python -m rpbot.run <options> <rp_group_options> <output.xml>
-
options
- -d, --dry-run: do everything except store results into ReportPortal.
- -v, --verbose: be verbose. WARN, INFO, and DEBUG available.
-
rp_group_options
- --RP_UUID: ReportPortal UUID. (required)
- --RP_ENDPOINT: ReportPortal URL. (required)
- --RP_LAUNCH: ReportPortal launch name. (required)
- --RP_PROJECT: ReportPortal project name. (required)
- --RP_LAUNCH_DOC: ReportPortal launch description.
- --RP_LAUNCH_ATTRIBUTES : ReportPortal launch attributes. Space-separated list of tags/attributes. ex) "CUSTOMER:KDI PKG_VER:SVR20C"
- --RP_TEST_ATTRIBUTES: ReportPortal test attributes. Space-separated list of tags/attributes.
-
output.xml: Output XML file of robot framework
License
RpBot is released under the Apache License, Version 2.0
.
See LICENSE.TXT for details.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file rpbot-0.4.3.tar.gz
.
File metadata
- Download URL: rpbot-0.4.3.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebbd4a63946166cf4b14ff9ddd2bc62003ce54854dd87f300970445b9fec90e5 |
|
MD5 | 65dfa498763e38d768a335ac3f7b6086 |
|
BLAKE2b-256 | 9a411b0266e89cd12ed1d052b026de3f7aace1c3c1bb7c8a133970fcb66028a5 |
File details
Details for the file rpbot-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: rpbot-0.4.3-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0a9928a7065dc91f81692e24980d48e08082a515ab7e30087933a2f3e13cab0 |
|
MD5 | 27a4cb1252dea060552fc18112f81d81 |
|
BLAKE2b-256 | 0feaf809f4acb35b280005663a7ce52122fa82b5bac107207a1d0260e2ae1d6e |