|
|
@ -70,7 +70,7 @@ be written. Online reports are available but only cover the ``devel`` branch (s
|
|
|
|
Add the ``--coverage`` option to any test command to collect code coverage data. If you
|
|
|
|
Add the ``--coverage`` option to any test command to collect code coverage data. If you
|
|
|
|
aren't using the ``--tox`` or ``--docker`` options which create an isolated python
|
|
|
|
aren't using the ``--tox`` or ``--docker`` options which create an isolated python
|
|
|
|
environment then you may have to use the ``--requirements`` option to ensure that the
|
|
|
|
environment then you may have to use the ``--requirements`` option to ensure that the
|
|
|
|
correct version of the coverage module is installed
|
|
|
|
correct version of the coverage module is installed::
|
|
|
|
|
|
|
|
|
|
|
|
ansible-test units --coverage apt
|
|
|
|
ansible-test units --coverage apt
|
|
|
|
ansible-test integration --coverage aws_lambda --tox --requirements
|
|
|
|
ansible-test integration --coverage aws_lambda --tox --requirements
|
|
|
|