No project description provided
Project description
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
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:
- Run the command
which robot
to obtain the path to the robot executable. - Run the command
which rci
to obtain the path to the rci executable. - 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
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 robot_console_improved-0.2.tar.gz
.
File metadata
- Download URL: robot_console_improved-0.2.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3c073d9a52761fc7949d62765cb4618b81228aef040e6b1e3a96bc1d87adf82 |
|
MD5 | 1a490292a27ab04a0ae69a3fc236d227 |
|
BLAKE2b-256 | dbf6519213c7ba212fb79bc581a2bf20f69775d9764829aa25b4f413f2c7ae43 |
File details
Details for the file robot_console_improved-0.2-py3-none-any.whl
.
File metadata
- Download URL: robot_console_improved-0.2-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd3ee198322e9484906284fd6ea60dcfc7cd90724eb465e01039f62a00f1812c |
|
MD5 | 552851d75ced99a63c7dc8835695bf78 |
|
BLAKE2b-256 | fe5bb2c84d14961932e7a550f0a2eb99f7f975b40bb28bdc85a7618070b72eee |