Skip to main content

Robot Console Improved

This is a project to improve the console output of Robot Framework.

Development

Setup

For setting up a development environment, use hatch to set up the dependencies. Use the command hatch build to create the environment.

If you use Pycharm as IDE, run the command hatch env run which python and use the outputted path for the interpreter. Also, in the run/debug configurations, select Emulate terminal in output console by selecting Modify options > Emulate terminal in output console.

For entering the hatch virtual environment, use the commando hatch shell.

Usage

To run the application enter the hatch virtual environment and use the comando rci {tests} where {tests} is the path to the tests to be run.

Pycharm Run/Debug Configurations

img.png

The {tests} in the configuration image indicates the path to the tests to be run.

Installation

The Python package is available in the package registry of this repository. A new build is generated for every push to the main branch or when a tag is created. To install this tool, use the pip command provided in the package registry.

Dependencies

The setup already covers some of the dependency setup, but the Robot Console Improved also supports the robotframework-debuglibrary. To install this, first enter the virtual environment with hatch shell and then install the robotframework-debuglibrary with pip install robotframework-debuglibrary.

Usage

After installation, you can run the application using the command rci {tests}, where {tests} represents the path to the tests you wish to execute.

If you are already using robotframework in your project and want to integrate the RobotConsoleImproved application, follow these steps:

  1. Run the command which robot to obtain the path to the robot executable.
  2. Run the command which rci to obtain the path to the rci executable.
  3. Copy the rci file to the robot location using the following command: cp {path_from_which_rci} {path_from_which_robot}.

If you decide to revert to using robotframework instead of the RobotConsoleImproved tool, you can reinstall it with the following command: pip install --force-reinstall robotframework.

Tests

To run the tests, first enter the hatch environment with ´hatch shell´ and then execute the command hatch run tests:cov.

CI

Dagger is used to run the CI, it can also be run locally. To do this, you must first create a virtual environment (if you do not already have one) with the command python -m venv venv and then enter the environment with source venv/bin/activate.

Then run the following command to install the correct pip packages pip install dagger-io anyio typer.

Once the packages are installed the CI can be run from the root folder RobotConsoleImproved with the command python ci/main.py

Metadata

Release files for robot-console-improved 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 robot-console-improved 0.2
File Size Uploaded
robot_console_improved-0.2.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robot-console-improved 0.2
File Interpreter ABI Platform
robot_console_improved-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / robot_console_improved-0.2.tar.gz

Download URL robot_console_improved-0.2.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a3c073d9a52761fc7949d62765cb4618b81228aef040e6b1e3a96bc1d87adf82
BLAKE2b-256 checksum
How to use checksums
dbf6519213c7ba212fb79bc581a2bf20f69775d9764829aa25b4f413f2c7ae43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / robot_console_improved-0.2-py3-none-any.whl

Download URL robot_console_improved-0.2-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd3ee198322e9484906284fd6ea60dcfc7cd90724eb465e01039f62a00f1812c
BLAKE2b-256 checksum
How to use checksums
fe5bb2c84d14961932e7a550f0a2eb99f7f975b40bb28bdc85a7618070b72eee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

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