You are here
Testing Your Automation Code
Cedar Room AB
This is a hands-on tutorial that will cover the basics that everyone needs to know about how to test your automation code. We’ll start off with a quick introduction to Chef and work our way through writing a fully-tested cookbook or two using linting, unit testing, integration testing, and cross-platform testing.
Hands-on exercises throughout the tutorial will reinforce the material discussed.
Anyone responsible for managing infrastructure especially those who are interested in automating the provisioning and management of said infrastructure using state-of-the-art tools and practices.
A working code base that includes samples for building out testable infrastructure components.
- Introduction to Chef
- Test-driven Development (TDD)
- syntax check - knife cookbook test
- linting - foodcritic
- unit testing - ChefSpec
- integration testing - ServerSpec