Skip to content

jimhopp/chefspec_exploration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This repo demonstrates chefspec <= 0.9.0. chefspec is now > 3.0. You can use this repo to get an idea of how chefspec works, but to see running code you'll need to use the doc at the chefspec repo.

Demonstrates chefspec, a gem that enables you to write rspec tests for your chef recipes without having to actually run them on a node.

You can learn about chefspec at https://github.com/sethvargo/chefspec You can learn about RSpec at https://www.relishapp.com/rspec And of course chef is at https://wiki.opscode.com/display/chef/Home

To install: clone this repo, install Bundler (gem install bundler), and install the chefspec gems via bundler (bundle install).

To run the tests: "bundle exec rspec cookbooks/mytestcookbook/"

Releases

No releases published

Packages

No packages published

Languages