pytest-ansible
5.4#23 in infrastructure testing toolsLinux
Visit| Fact | pytest-ansible | Test Kitchen |
|---|---|---|
| Audience | The documentation describes the plugin for Ansible collection authors and developers who want to use Ansible from pytest tests. | The getting-started guide demonstrates using Test Kitchen to create and test a Chef Infra cookbook and describes a test-driven development workflow. |
| Installation | The README instructs users to install the plugin with pip install pytest-ansible. | Users can install the gem with gem install test-kitchen or install Cinc Workstation. |
| License | The project says it is free and open source under the MIT license. | The project is released under the Apache License 2.0. |
| Purpose | pytest-ansible is a pytest plugin for using Ansible in tests, running Ansible collection unit tests with pytest, and exposing Molecule scenarios through a pytest fixture. | Test Kitchen is a test harness for executing infrastructure code on one or more platforms in isolation. |
| Support | The README directs users with problems to file a GitHub issue with a detailed description. | The documentation directs users to the #test-kitchen channel on Chef Community Slack for assistance from community members. |
No prices published.
It suits Ansible collection authors and developers writing pytest tests for modules, inventory, and system facts. It is intended for local testing workflows.
Test Kitchen suits infrastructure developers who want to provision isolated environments and verify infrastructure code, including Chef cookbook workflows. Users should be comfortable with its Ruby environment and prerequisite virtualization setup.