Unit Tests — Ansible Documentation
docs.ansible.com › dev_guide › testing_unitsDec 21, 2021 · For example: ansible-test units --python 2 .7 --requirements apache2_module. The list of unit test requirements can be found at test/units/requirements.txt. This does not include the list of unit test requirements for ansible-test itself, which can be found at test/lib/ansible_test/_data/requirements/units.txt.
GitHub - tumf/ansible-unit-test-sample
github.com › tumf › ansible-unit-test-sampleDec 27, 2015 · ansible-unit-test-sample. Use Git or checkout with SVN using the web URL. Work fast with our official CLI. Learn more . If nothing happens, download GitHub Desktop and try again. If nothing happens, download GitHub Desktop and try again. If nothing happens, download Xcode and try again. Your codespace will open once ready.
Unit Tests — Ansible Documentation
docs.ansible.com › dev_guide › testing_unitsDec 01, 2020 · ansible-test has a number of dependencies , for units tests we suggest using tox. The dependencies can be installed using the --requirements argument, which will install all the required dependencies needed for unit tests. For example: ansible-test units --tox --python 2.7 --requirements apache2_module.