Avocado Plugin for Execution of Robot Framework tests
Project description
This optional plugin enables Avocado to work with tests originally written using the Robot Framework API.
To install the Robot plugin from pip, use:
$ sudo pip install avocado-framework-plugin-robot
After installed, you can list/run Robot tests the same way you do with other types of tests.
For example, use the test included in the avocado code
$ git clone https://github.com/avocado-framework/avocado.git
To list the tests, execute:
$ avocado list avocado/optional_plugins/robot/tests/avocado.robot robot $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep robot $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.Sleep
Directories are also accepted. To run the tests, execute:
$ avocado run avocado/optional_plugins/robot/tests/avocado.robot JOB ID : 1501f546890024f2af8e26ab49ba511154bebab9 JOB LOG : $HOME/avocado/job-results/job-2021-09-30T21.48-1501f54/job.log (2/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.Sleep: STARTED (1/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep: STARTED (1/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.NoSleep: PASS (0.06 s) (2/2) $HOME/avocado/optional_plugins/robot/tests/avocado.robot:Avocado.Sleep: PASS (0.07 s) RESULTS : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0 JOB HTML : $HOME/avocado/job-results/job-2021-09-30T21.48-1501f54/results.html JOB TIME : 0.99 s
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 avocado_framework_plugin_robot-108.0.tar.gz
.
File metadata
- Download URL: avocado_framework_plugin_robot-108.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed14d696eb84f562c0556195fb6f6c2ad658cb4db2fe6be6838949c20958691 |
|
MD5 | de6ea5f69a480d61a6c6053b0bc55ae0 |
|
BLAKE2b-256 | 658ead6e94a8dcd397ac68c56c23dbea72c183d33521282625484230b0a24811 |
File details
Details for the file avocado_framework_plugin_robot-108.0-py3-none-any.whl
.
File metadata
- Download URL: avocado_framework_plugin_robot-108.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 388de28c1c5bb74248710390c8f3cb26ea5ecf6f36ba8df70ede2fe15c47ee56 |
|
MD5 | 5511baade5d2f9c0966b6a39f2f73d45 |
|
BLAKE2b-256 | a48268f4a072c6a16e5759b5033cc249958b505a7e31ba7d4bdc0ef2ba4f2486 |