# Pastebin MueicMmg Unit tests ---------- You can add unit tests for your module in ``./test/units/modules``. You can run them in a container as well. First, set up your development environment: ``. hacking/env-setup`` Then run the tests you want to run: ``ansible-test --docker MODULE_NAME`` .. note:: Ansible uses pytest for unit testing. To run pytest against a single test module, you can do the following (provide the path to the test module appropriately): ``$ pytest -r a --cov=. --cov-report=html --fulltrace --color yes test/units/modules/.../test/my_test.py``