Fixtures for testinfra and molecule
Project description
About
With the Pytest plugin Testinfra you can write unit tests in Python to test your servers configured by the management tool Ansible. Testinfra is the default verifier of Molecule testing environment.
The Pytest plugin Testaid provides helper functions and fixtures to facilitate the use of Testinfra. It helps to not only unit test your Ansible roles but to integration and system test your whole Ansible project.
License
Quick start
Install the testaid plugin using pip:
$ pip install testaid
Tests
Run molecule test by invoking tox:
$ tox
Examples
Have a look at test/debian for a complete molecule example using ansible, testinfra and testaid.
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
testaid-0.2.tar.gz
(8.0 kB
view hashes)
Built Distribution
testaid-0.2-py3-none-any.whl
(8.9 kB
view hashes)