Use Robot Framework as a Molecule verifier.
Runs the verify
playbook to install Robot Framework, extra libraries, and
test data, then runs robot
on the Molecule managed instances, showing the
live output as tests are executed. Finally, runs an optional verify_fetch_report
playbook to retrieve the generated Robot Framework report and logs.
Bundled verify
and verify_fetch_report
playbooks are included with
the plugin. You can override these with custom playbooks if desired.
Documentation: https://molecule-robot-framework-plugin.readthedocs.io
Install molecule-robotframework:
pip install molecule molecule-robotframework
Create a new role with molecule using the robotframework
verifier:
molecule init role <role_name> --verifier-name robotframework [--driver-name <name>]
Create a new scenario for an existing role or playbook:
molecule init scenario <scenario_name> --verifier-name robotframework [--driver-name <name>]
Copy the Robot Framework test data (.robot files) to a directory the Ansible
controller. The default location is the directory molecule/<scenario_name>/tests
.
Configure the desired robot
options in the molecule.yml
verifier section.
Execute molecule test
on the role or scenario to run the verify playbook and run
robot
on the molecule instance.
Molecule Robot Framework Plugin was created by Michael Meffie based on code from Molecule.
The MIT License.
The logo is licensed under the Creative Commons NoDerivatives 4.0 License.
If you have some other use in mind, contact us.