Overview
Syllabus
Intro
Background
What is ansible-test?
Why Create ansible-test?
What's New With Ansible 2.9?
Getting Started
Collection Path
Collections and Version Control
Running ansible-test
What are Sanity Tests?
Running Sanity Tests
Sanity Test Ignore Entries
Sanity Test Layout
Example Sanity Test Ignores
Basic Sanity Test Workflow
Why Integration Tests?
Writing Integration Tests
Role Based Integration Test Layout
Script Based Integration Test Layout
Running Integration Tests
Integration Test Configuration "aliases"
Disabling Integration Tests
Why Unit Test?
Why Unit Test With ansible-test?
Writing Unit Tests
Unit Test Layout
Running Unit Tests
Unit Testing Tips
What is Code Coverage?
Why Use Code Coverage?
Code Coverage Workflow
Continuous Integration Recommendations
Continuous Integration With ansible-test
Useful Options for Continuous Integration
Conclusion
Questions?
Taught by
Red Hat Ansible Automation