Unit Tests — Ansible Documentation
docs.ansible.com › dev_guide › testing_unitsDec 21, 2021 · Unit Tests Unit tests are small isolated tests that target a specific library or module. Unit tests in Ansible are currently the only way of driving tests from python within Ansible’s continuous integration process. This means that in some circumstances the tests may be a bit wider than just units.
Introduction to ansible-test
https://www.ansible.com/blog/introduction-to-ansible-test22.02.2021 · Both ansible-core and ansible-base come packaged with a cli tool called ansible-test, which can be used by collection developers to test their Collection and its content. The ansible-test knows how to perform a wide variety of testing-related tasks, from linting module documentation and code to running unit and integration tests.