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
This commit is contained in:
Amin Vakil 2020-09-11 00:51:01 +04:30 committed by GitHub
parent 1a06587f3b
commit 7a0e545700
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -174,6 +174,32 @@ Some ideas of what to test are:
* Test to see if any Python backtraces returned (that's a bug) * Test to see if any Python backtraces returned (that's a bug)
* Test on different operating systems, or against different library versions * 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`` 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``