Metadata-Version: 2.1
Name: rpbot
Version: 0.4.3
Summary: A tool for inserting Robot Framework test run results into ReportPortal.
Home-page: https://github.com/doyou89/RPBot
Author: Doyou Jung
Author-email: doyou89@gmail.com
License: Apache License 2.0
Download-URL: https://pypi.python.org/pypi/rpbot
Keywords: robotframework testing testautomation atdd
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Testing
Description-Content-Type: text/markdown
License-File: LICENSE.txt

## RPBot

![Test Python](https://github.com/doyou89/RPBot/workflows/Test%20Python/badge.svg)

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:
```sh
$ pip install rpbot
```

Alternatively you can download the `source distribution`, extract it and
install using:

```sh
$ python setup.py install
```

### Usage

```sh
$ 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.


