mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-01 14:51:27 -07:00
Add ansible-test options and docs. (#26823)
* All integration commands support --continue-on-error * The network-integration command supports --inventory * Add landing page for compile test docs. * Add bot documentation links.
This commit is contained in:
parent
7931e11437
commit
e63f69464f
5 changed files with 67 additions and 5 deletions
|
@ -216,6 +216,10 @@ def parse_args():
|
|||
action='store_true',
|
||||
help='retry failed test with increased verbosity')
|
||||
|
||||
integration.add_argument('--continue-on-error',
|
||||
action='store_true',
|
||||
help='continue after failed test')
|
||||
|
||||
integration.add_argument('--debug-strategy',
|
||||
action='store_true',
|
||||
help='run test playbooks using the debug strategy')
|
||||
|
@ -251,6 +255,10 @@ def parse_args():
|
|||
action='append',
|
||||
help='network platform/version').completer = complete_network_platform
|
||||
|
||||
network_integration.add_argument('--inventory',
|
||||
metavar='PATH',
|
||||
help='path to inventory used for tests')
|
||||
|
||||
windows_integration = subparsers.add_parser('windows-integration',
|
||||
parents=[integration],
|
||||
help='windows integration tests')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue