As you become a more sophisticated Chef, the complexity of the recipes you write increases. You find yourself querying data from the Chef server or requesting the state of an operating system component. You’re using complex logic that is abstracted behind helper methods. However, these advanced recipes require equally advanced tests.
In this webinar, Franklin Webber, Training and Technical Content Lead at Chef, will show you some approaches to testing complex recipes. He’ll explain mocking and stubbing and then apply those techniques to verify recipes that use search, resource guards, and helper methods.
Join us to learn:
- How to test recipes that are powered by search and data bags
- How to test resource guards
- How to test helper methods
Who should attend:
Chef users with experience using ChefSpec, InSpec, and Test Kitchen