March 2019
Intermediate to advanced
412 pages
9h 49m
English
Before any submission can be accepted by Ansible, the change must pass tests. These tests fall into three categories: unit tests, integration tests, and code-style tests. Unit tests cover very narrow aspects of source code functions, while integration tests take a more holistic approach and ensure the desired functionality happens. Code-style tests examine the syntax used, as well as whitespace and other style aspects.
Before any tests can be executed, the shell environment must be prepared to work with the Ansible code checkout. A shell environment file exists to set the required variables, which can be activated with this command:
$ source ./hacking/env-setup
Ensuring tests are passing before modifications are made can ...
Read now
Unlock full access