forked from sous-chefs/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed up LWRP documentation, added Test Kitchen information in TESTIN…
…G.md
- Loading branch information
Showing
2 changed files
with
37 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
This cookbook includes support for running tests via Test Kitchen (1.0). This has some requirements. | ||
|
||
1. You must be using the Git repository, rather than the downloaded cookbook from the Chef Community Site. | ||
2. You must have Vagrant 1.1 installed. | ||
3. You must have a "sane" Ruby 1.9.3 environment. | ||
|
||
Once the above requirements are met, install the additional requirements: | ||
|
||
Install the berkshelf plugin for vagrant, and berkshelf to your local Ruby environment. | ||
|
||
vagrant plugin install vagrant-berkshelf | ||
gem install berkshelf | ||
|
||
Install Test Kitchen 1.0 (unreleased yet, use the alpha / prerelease version). | ||
|
||
gem install test-kitchen --pre | ||
|
||
Install the Vagrant driver for Test Kitchen. | ||
|
||
gem install kitchen-vagrant | ||
|
||
Once the above are installed, you should be able to run Test Kitchen: | ||
|
||
kitchen list | ||
kitchen test |