Serverspec is an infrastructure testing tool for Ruby that allows you to write RSpec tests to check that your server is configured correctly. Tests can also be driven by many of the popular configuration management tools, such as Puppet, Ansible, CFEngine and Itamae.