added support for --testcase flag in ansible-test (#36134)

* added support for --testcase flag in ansible-test

* fixed command format

* added tab completion

* fixed sanity issues

* added documenation for --testcase

* don't autocomplete when multiple modules are selected
This commit is contained in:
David Newswanger 2018-02-14 18:40:35 -05:00 committed by Matt Davis
commit 3f5caf659e
4 changed files with 39 additions and 0 deletions

View file

@ -219,6 +219,11 @@ To run integration tests for a specific module::
ansible-test network-integration --inventory /path/to/ansible/test/integration/inventory.networking vyos_vlan
To run a single test case on a specific module::
# Only run vyos_vlan/tests/cli/basic.yaml
ansible-test network-integration --inventory /path/to/ansible/test/integration/inventory.networking vyos_vlan --testcase basic
To run integration tests for a specific transport::
# Only run nxapi test