{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/3"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"A tox plugin that orchestrates testing of Ansible collections across multiple Python versions and Ansible releases, using ansible-test, pytest, and tox to manage environments.","skillfed_tags":["ansible-testing","tox-plugin","matrix-testing"],"use_cases":["Test an Ansible collection against multiple Ansible versions and Python interpreters in a single command.","Run sanity checks on collection code without manually invoking ansible-test, letting tox manage the environment.","Generate coverage reports for unit tests across collection plugins, with 0% coverage shown for untested files.","Reproduce CI/CD test failures locally by running the same tox environment names and configurations.","Skip specific test environments or enable downstream AAP-certified Ansible cores via configuration flags."],"what_it_does":"tox-ansible is a tox plugin that generates and manages test environments for Ansible collections, automating the matrix of Python versions and Ansible releases you want to validate against. Instead of manually configuring tox environments for each combination, you declare your test scope in pyproject.toml and the plugin dynamically creates sanity, unit, and integration test environments. It delegates the actual testing to ansible-test (for sanity checks) and pytest (for unit and integration tests), leaving environments intact after runs so you can debug failures locally\u2014and ensuring test outcomes match your CI/CD pipeline.\n\nThe plugin uses tox to create isolated virtual environments in .tox/, pyyaml and tomli to parse configuration, and pytest-xdist to parallelize test execution. You control which Python versions and Ansible versions to test via simple configuration flags like skip, coverage, and downstream (to include AAP-supported cores). CalVer versioning (YY.MM.MICRO) means releases track the month they ship, and the plugin is actively maintained with support for Python 3.10, 3.11, 3.12, 3.13, and 3.14.","worth_installing":"Yes. If you maintain or test Ansible collections, this plugin eliminates manual environment setup and matrix configuration. Low install friction, active maintenance, no security vulnerabilities, and MIT licensing. The only gotcha is pre-installing the Python versions you want to test\u2014a standard requirement for any multi-version testing tool."},"id":"tox-ansible","links":{"html":"https://skillfed.io/packages/tox-ansible","md":"https://skillfed.io/packages/tox-ansible.md","pypi":"https://pypi.org/project/tox-ansible/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":"MIT","license_treatment":"permissive","name":"tox-ansible","python_support":"supports_current","summary":"A radical approach to testing ansible content"},"popularity":{"monthly_downloads":628645,"position":5672,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"26.8.0"}
