We are not currently accepting community contributions. However, we encourage you to open git issues for bugs, comments or feature requests.
Review this content periodically to learn when and how to make contributions in the future. For the latest information on open issues, see: git issues.
z/OS Ansible Module Testing
This section outlines the processes to develop and run test cases for z/OS Ansible modules.
Parsing with BetterArgParser
BetterArgParser goes beyond typical option value parsing and serves as an alternative to parsers such as argparse. It has been designed to validate values often used on z/OS to avoid unnecessary failures on the target such as incorrectly providing a data set name or type. For cases that require further validation, BetterArgParser accepts a BetterArg object that allows for further customization.
It is recommended to use BetterArgParser in conjunction with Ansible’s module argument parser.
This section outlines the features of BetterArgParser, explains how to define arguments, provides examples of dependencies and more: