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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for avocado_framework_plugin_robot-111.0.tar.gz
Algorithm Hash digest
SHA256 7b240dab64703378a3229af4886ecc4970ed26adcfe9a40c0b36b828d5435a89
MD5 df489b3e6ca63afcd800a44fc920e65a
BLAKE2b-256 5dec6562672d46f1bd534d94a90cee1c7552396307477c26251e1d3f384ea99f

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_robot-111.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-111.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avocado_framework_plugin_robot-111.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b319921388ec3e19091a91387d0fea15123aba7be81ba0fb408a17aa0aa1d837
MD5 900f93a101bb1cb5d5064b1263c5ce6e
BLAKE2b-256 f063153b880288cfba5b28c9d0319db892d5de126f4958e30ba6e51e95094c0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for avocado_framework_plugin_robot-111.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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page