Update testing collections to mention ansible-base versions (#69805)

Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
pull/69996/head
Alicia Cozine 4 years ago committed by GitHub
parent 37e7191304
commit d7c03e9fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -531,7 +531,7 @@ The build process for docs.ansible.com will know where to find the module docs.
Testing collections
===================
The main tool for testing collections is ``ansible-test``, Ansible's testing tool described in :ref:`developing_testing`. You can run several compile and sanity checks, as well as run unit and integration tests for plugins using ``ansible-test``.
The main tool for testing collections is ``ansible-test``, Ansible's testing tool described in :ref:`developing_testing`. You can run several compile and sanity checks, as well as run unit and integration tests for plugins using ``ansible-test``. When you test collections, test against the ansible-base version(s) you are targeting.
You must always execute ``ansible-test`` from the root directory of a collection. You can run ``ansible-test`` in Docker containers without installing any special requirements. The Ansible team uses this approach in Shippable both in the ansible/ansible GitHub repository and in the large community collections such as `community.general <https://github.com/ansible-collections/community.general/>`_ and `community.network <https://github.com/ansible-collections/community.network/>`_. The examples below demonstrate running tests in Docker containers.

@ -4,7 +4,7 @@
Testing Ansible
***************
.. contents:: Topics
.. contents::
:local:
@ -17,7 +17,7 @@ Ansible users who understand how to write playbooks and roles should be able to
Read on to learn how Ansible is tested, how to test your contributions locally, and how to extend testing capabilities.
If you want to learn on how testing collections, you should read :ref:`testing_collections`
If you want to learn about testing collections, read :ref:`testing_collections`
@ -183,7 +183,7 @@ Example::
If the PR does not resolve the issue, or if you see any failures from the unit/integration tests, just include that output instead:
| This doesn't work for me.
| This change causes errors for me.
|
| When I ran this Ubuntu 16.04 it failed with the following:
|

Loading…
Cancel
Save