From 7a0e5457005cd23064bd39e7f563351828b1fe67 Mon Sep 17 00:00:00 2001 From: Amin Vakil Date: Fri, 11 Sep 2020 00:51:01 +0430 Subject: [PATCH] Add how to run unit test link in testing_units_modules doc (#71523) * Add how to run unit test link in testing_units_modules * Fix sanity test --- docs/docsite/rst/dev_guide/testing.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/docsite/rst/dev_guide/testing.rst b/docs/docsite/rst/dev_guide/testing.rst index 024f59bb9fd..763f1672399 100644 --- a/docs/docsite/rst/dev_guide/testing.rst +++ b/docs/docsite/rst/dev_guide/testing.rst @@ -174,6 +174,32 @@ Some ideas of what to test are: * Test to see if any Python backtraces returned (that's a bug) * Test on different operating systems, or against different library versions +Run sanity tests +```````````````` + +.. code:: shell + + ansible-test sanity + +More information: :ref:`testing_sanity` + +Run unit tests +`````````````` + +.. code:: shell + + ansible-test units + +More information: :ref:`testing_units` + +Run integration tests +````````````````````` + +.. code:: shell + + ansible-test integration -v ping + +More information: :ref:`testing_integration` Any potential issues should be added as comments on the pull request (and it's acceptable to comment if the feature works as well), remembering to include the output of ``ansible --version``