Robot Framework Molecule Plugin :: run molecule tests with Robot Framework as verifier
Project description
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
Installation and Usage
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.
License
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.
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
Hashes for molecule-robotframework-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b25346c1d83675c56a6f028e148ab14425a4d40ee7e09afefcebbd0e7d3c182 |
|
MD5 | 3bee938c7015f0082558d97618463b56 |
|
BLAKE2b-256 | 3defb8ebd2e66a8ff1b3e149b608c2c86561ede8d2bd9a6680bf1138154011a8 |
Hashes for molecule_robotframework-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 067c21f3dbd53cd979282d21260bbf86f2c1b536ec81406427644aa672c10bf6 |
|
MD5 | f77b3dd6d4433ab788ecbe0792628f3d |
|
BLAKE2b-256 | 06c31849915330e0e480b88acc9ee2aa65b494eada49a3cd71d595888aa4157f |