Unit test with ChefSpec

In the Verify with InSpec tutorial, you learned how to use InSpec to automatically verify a basic web server configuration on a virtual machine running on your workstation.

Here you'll learn how to use ChefSpec to speed up the feedback cycle even more by simulating the execution of your resources in memory without the need to create test instances.

Choose your server environment

Click on one of the buttons below to select the kind of system you want to work with.

  We currently provide content for Red Hat Enterprise Linux and CentOS. You can apply what you learn to other platforms. In the future we'll add content for Windows Server and Ubuntu.

Here you'll work with Red Hat Enterprise Linux 7 or CentOS 7.