• Getting Started
    • Introduction
    • Installing
    • Getting Help
    • Creating a Cookbook
    • kitchen.yml
    • Instances
    • Writing a Recipe
    • kitchen converge
    • Manually Verifying
    • Writing a Test
    • kitchen verify
    • kitchen test
    • Adding a Platform
    • Adding a New Feature
    • Adding a Suite
    • Adding a Test
    • Adding a Recipe
    • Excluding Platforms
    • Next Steps
  • Drivers
    • About Drivers
    • Amazon AWS (EC2)
    • DigitalOcean
    • Dokken (Docker)
    • Google Cloud Platform
    • HashiCorp Vagrant
    • Microsoft Azure
    • Microsoft Hyper-V
    • OpenStack
    • VMware vCenter
    • VMware vRealize Automation
  • Transports
    • About Transports
    • SSH
    • WinRM
  • Provisioners
    • About Provisioners
    • Chef Infra
    • Shell
  • Verifiers
    • Verifiers
    • InSpec
    • ServerSpec
  • Reference
    • Configuration
    • Examples
    • FAQ
    • Fixture Cookbooks
    • Glossary
    • Lifecycle Hooks
    • Reboots

ServerSpec

ServerSpec is a framework that gives you RSpec tests for your infrastructure. Test Kitchen’s busser plugin utilizes busser-serverspec for executing ServerSpec tests.

Files can be placed in test/integration/$SUITE/serverspec/ and no configuration is required in the user’s kitchen.yml.

Example test to check that the httpd package is installed:

describe package('httpd') do
  it { should be_installed }
end
  • Licensing
  • Terms & Conditions
  • Trademark Policy
  • Privacy Policy

Apache License, Version 2.0 (see LICENSE)