summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Klychkov <aaklychkov@mail.ru>2020-08-21 17:33:43 +0300
committerGitHub <noreply@github.com>2020-08-21 09:33:43 -0500
commit72e9974f1075b04c15a52015209e137c53869582 (patch)
treeda08c11d8a622696bcda1dc2bfac15b1c59307e2
parent26bb114ccbd39684528dc65f988fea71d94e9ba1 (diff)
downloadansible-72e9974f1075b04c15a52015209e137c53869582.tar.gz
Documentation: improve dev_guide/testing_integration.rst (#71370) (#71390)
(cherry picked from commit 5498b0bb7182d59996fedbfa39a4d3fa825f2305)
-rw-r--r--docs/docsite/rst/dev_guide/testing_integration.rst24
1 files changed, 14 insertions, 10 deletions
diff --git a/docs/docsite/rst/dev_guide/testing_integration.rst b/docs/docsite/rst/dev_guide/testing_integration.rst
index 362c194092..d59924937d 100644
--- a/docs/docsite/rst/dev_guide/testing_integration.rst
+++ b/docs/docsite/rst/dev_guide/testing_integration.rst
@@ -74,13 +74,17 @@ outside of those test subdirectories. They will also not reconfigure or bounce
Use the ``--docker-no-pull`` option to avoid pulling the latest container image. This is required when using custom local images that are not available for download.
-Run as follows for all POSIX platform tests executed by our CI system::
+Run as follows for all POSIX platform tests executed by our CI system in a fedora32 docker container::
- ansible-test integration --docker fedora29 -v shippable/
+ ansible-test integration shippable/ --docker fedora32
You can target a specific tests as well, such as for individual modules::
- ansible-test integration -v ping
+ ansible-test integration ping
+
+You can use the ``-v`` option to make the output more verbose::
+
+ ansible-test integration lineinfile -vvv
Use the following command to list all the available targets::
@@ -96,7 +100,7 @@ Destructive Tests
These tests are allowed to install and remove some trivial packages. You will likely want to devote these
to a virtual environment, such as Docker. They won't reformat your filesystem::
- ansible-test integration --docker fedora29 -v destructive/
+ ansible-test integration destructive/ --docker fedora32
Windows Tests
=============
@@ -136,14 +140,14 @@ the Ansible continuous integration (CI) system is recommended.
Running Integration Tests
-------------------------
-To run all CI integration test targets for POSIX platforms in a Ubuntu 16.04 container::
+To run all CI integration test targets for POSIX platforms in a Ubuntu 18.04 container::
- ansible-test integration --docker ubuntu1604 -v shippable/
+ ansible-test integration shippable/ --docker ubuntu1804
You can also run specific tests or select a different Linux distribution.
-For example, to run tests for the ``ping`` module on a Ubuntu 14.04 container::
+For example, to run tests for the ``ping`` module on a Ubuntu 18.04 container::
- ansible-test integration -v ping --docker ubuntu1404
+ ansible-test integration ping --docker ubuntu1804
Container Images
----------------
@@ -165,9 +169,9 @@ Python 3
To test with Python 3 use the following images:
- - fedora29
+ - centos8
+ - fedora32
- opensuse15
- - ubuntu1604py3
- ubuntu1804