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-113.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for avocado_framework_plugin_robot-113.0.tar.gz
Algorithm Hash digest
SHA256 e993e03143a7da2265eca69f1243081811f4842e45e1db5b85e1825cad1d0468
MD5 d98ee8fdaa3cb59580e8e9c1a2610db0
BLAKE2b-256 58f94766c1dd5297d5a188fb98282f492cc2375b2f4a4ce15f6a0b912a49f122

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_robot-113.0.tar.gz:

Publisher: release.yml on avocado-framework/avocado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for avocado_framework_plugin_robot-113.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7008a014979c1f9419ef5fee40f7fd460846f8a66dc728cc9d5ed8d546bf662c
MD5 70907187e28b9fe74b9f74c54cad1a24
BLAKE2b-256 c25be6018d355b47b530158b9cfce20882c2c335c18e862c661030f945968571

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_robot-113.0-py3-none-any.whl:

Publisher: release.yml on avocado-framework/avocado

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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