Test Driven Cookbooks
Chef 13.6.4
| Intermediate
- 14 videos | 1h 16m 38s
- Includes Assessment
- Earns a Badge
The most important role of a Cookbook developer is to test a code before it enters production. Explore how to test Chef cookbooks consistently and effectively.
WHAT YOU WILL LEARN
-
use Behavior-Driven Development (BDD) in the context of Chef cookbook developmentidentify the Chef Development Kit tools used for unit and integration testinggenerate unit and integration tests inside of a cookbooklist the components of the .kitchen.yml fileconfigure a Test Kitchen driver to support deploying to physical, virtual, or cloud machinesexecute the chef-client on a virtual machine generated by Test Kitchendefine an integration test and verify the results with kitchen login
-
use the InSpec compliance language to write simple integration testsrefactor a recipe and run kitchen verify with a test-driven approachexecute the RSpec utility to test Chef recipes in memoryutilize a simple formula to write ChefSpec testsconfigure the Pry Ruby gem to insert a breakpoint into a recipeuse ChefSpec to check case statement evaluation of node attributesuse Test Kitchen to verify a simple Apache cookbook on Ubuntu and Centos
IN THIS COURSE
-
5m 25sDuring this video, you will learn how to use Behavior-Driven Development (BDD) in the context of Chef cookbook development. FREE ACCESS
-
5m 18sIn this video, find out how to identify the Chef Development Kit tools used for unit and integration testing. FREE ACCESS
-
4m 55sIn this video, learn how to generate unit and integration tests for a cookbook. FREE ACCESS
-
5m 46sUpon completion of this video, you will be able to list the components of the .kitchen.yml file. FREE ACCESS
-
5m 21sIn this video, you will learn how to configure a Test Kitchen driver to support deploying to physical, virtual, or cloud machines. FREE ACCESS
-
4m 39sIn this video, find out how to run the chef-client on a virtual machine generated by Test Kitchen. FREE ACCESS
-
5m 46sIn this video, learn how to define an integration test and verify the results with kitchen login. FREE ACCESS
-
5m 8sDuring this video, you will learn how to use the InSpec compliance language to write simple integration tests. FREE ACCESS
-
6mIn this video, you will refactor a recipe using a test-driven approach, and then run kitchen verify. FREE ACCESS
-
5m 43sLearn how to use the RSpec utility to test Chef recipes in memory. FREE ACCESS
-
5m 9sFind out how to use a simple formula to write ChefSpec tests. FREE ACCESS
-
5m 2sIn this video, learn how to configure the Pry Ruby gem to insert a breakpoint into your code. FREE ACCESS
-
5m 47sLearn how to use ChefSpec to check case statement evaluation of node attributes. FREE ACCESS
-
6m 39sDuring this video, you will learn how to use Test Kitchen to verify a simple Apache cookbook on Ubuntu and CentOS. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.