Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avocado_framework_plugin_robot-108.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file avocado_framework_plugin_robot-108.0.tar.gz.

File metadata

File hashes

Hashes for avocado_framework_plugin_robot-108.0.tar.gz
Algorithm Hash digest
SHA256 4ed14d696eb84f562c0556195fb6f6c2ad658cb4db2fe6be6838949c20958691
MD5 de6ea5f69a480d61a6c6053b0bc55ae0
BLAKE2b-256 658ead6e94a8dcd397ac68c56c23dbea72c183d33521282625484230b0a24811

See more details on using hashes here.

File details

Details for the file avocado_framework_plugin_robot-108.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avocado_framework_plugin_robot-108.0-py3-none-any.whl
Algorithm Hash digest
SHA256 388de28c1c5bb74248710390c8f3cb26ea5ecf6f36ba8df70ede2fe15c47ee56
MD5 5511baade5d2f9c0966b6a39f2f73d45
BLAKE2b-256 a48268f4a072c6a16e5759b5033cc249958b505a7e31ba7d4bdc0ef2ba4f2486

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page