diff --git a/docs/docsite/rst/dev_guide/testing_units.rst b/docs/docsite/rst/dev_guide/testing_units.rst index 492059c6723..8daac2f6549 100644 --- a/docs/docsite/rst/dev_guide/testing_units.rst +++ b/docs/docsite/rst/dev_guide/testing_units.rst @@ -43,6 +43,11 @@ Or against a specific Python version by doing: ansible-test units --tox --python 2.7 apt +If you are running unit tests against things other than modules, such as module utilities, specify the whole file path: + +.. code:: shell + + ansible-test units --tox test/units/module_utils/basic/test_imports.py For advanced usage see the online help::