ChefConf 2019: Writing Better Cookbooks with Testing

Automated infrastructure allows us to move fast, but moving fast is scary without proper testing. Where to start though? The state of the art in Chef cookbook testing has changed rapidly in the last few years with the introduction of new and improved tools and much of what you’ll find in web searches is often outdated.

This presentation will give a brief overview of resource driven cookbook design and then dive into how to test resources within cookbooks. Cookbook linting, unit testing, and integration testing using Cookstyle, ChefSpec, and Test Kitchen / Inspec will be covered with a particular emphasis on ChefSpec unit testing and InSpec integration testing.

ChefConf2020 is coming to Seattle!

Save the Date

Session Videos