Skip to main content

Parabot

Utility for tests written using RobotFramework - run test .robot files in parallel even if they are not specifically written for this.

This utility does not aim to replace pabot. It is basically a test executor - just a quick project to be able to execute in parallel previously written RF test run in serial fashion. As such, it only offers three basic options.

For much sophisticated solution, use Pabot.

Table of Contents

About

If you want to simply execute your robotframework test files in parallel fashion, you can use this tool. It leverages multiprocessing package of python, so there is no worry about specifically preparing your tests.

This tool currently supports:

  • run all .robot files in parallel: python[3] -m parabot -a

    • this options is suitable in case, that your test project is structured in such a way, that each test suite .robot file contains everything. If not, do not use this and use argument -f or --folders, see below.
  • run all .robot files in specific folders: python[3] -m parabot -f <relative_path_to_folder_1> ... <relative_path_to_folder_n>.

    • you can specify multiple relative paths after the argument. This feature uses "extend" option introduced in Python's 3.8 argparse module. In lower versions this will not work and probably throws an error.
  • run tagged tests/suites: python[3] -m parabot -t <tag_1> ... <tag_n>

    • use this option, if you want to run tagged test/suites in parallel. Since actual execution of tests is done by RobotFramework, parallelization in this case means one tag == one process. In each process are then sequentially run all tests/suites tagged by the same tag.
  • change default timeout when using parameters -a or -f: python[3] -m parabot -to [int]

    • when suites are executed using parameters -a or -f, scripts are using Python multiprocessing method Pool.map_async with default 60 second timeout. If your tests are running longer then that, this will throw an TimeoutException. In this case, use this parameter to increase the timeout value.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them.

  • Python 3.8+
  • RobotFramework library
  • RobotFramework selenium library

Just run [sudo] python[3] setup.py install and it will take care of it for you.

Installing

You can either clone this package from the repository, or install it via pip.

In case of cloning, use these steps to install:

  1. Run [sudo] python[3] parabot/setup.py install

  2. You can try the project on the examples tests in the folder examples.

  3. To try it on your project:

    3.1 Create a new branch for this, if things get messed up!!!

    3.2 Copy parabot folder into the root of your project

    3.3. Run [sudo] python[3] parabot/setup.py install

    3.4. Run some of currently supported commands

    3.5. See what happens :).

In case of using pip:

  1. Run command sudo pip3 install parabot

  2. Then try available commands as described above.

Test reports

For options -a and -f are timestamped report folders created in the same folder, where .robot file (test suite) is located.

For option -t the timestamped report folders for each tag are created in the reports folder located in the root.

Metadata

Release files for parabot 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parabot 1.0.2
File Size Uploaded Provenance Actions
parabot-1.0.2.tar.gz 5.2 kB Without provenance Details for parabot-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for parabot 1.0.2
File Interpreter ABI Platform Actions
parabot-1.0.2-py3-none-any.whl Python 3 none any Details for parabot-1.0.2-py3-none-any.whl

Total release size: 12.4 kB

Release files / parabot-1.0.2.tar.gz

Download URL parabot-1.0.2.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e918926c839d6593253786b5781bb394126710e6724c68a0dc234a76a6a8bd85
BLAKE2b-256 checksum
How to use checksums
0ab9bd515a9e10e78b26a9d6fb8d73e0447d1d703c6d9f4d77acc1b8382bcd93
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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / parabot-1.0.2-py3-none-any.whl

Download URL parabot-1.0.2-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a9c78e815852b712104e9ef1d2b27fc9c57b3746f3f31ab5fe48b44255c6a93
BLAKE2b-256 checksum
How to use checksums
8dd5e625a605a2bd5ea1cfc890d2ef75d0b9b3c02c329602567dd673fb3f9e09
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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for parabot 1.0.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page