diff options
author | John Keiser <john@johnkeiser.com> | 2016-01-25 09:38:12 -0800 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2016-01-26 09:44:20 -0800 |
commit | c7758ccfa08a02c40561ac0cb683cefbf8bcab42 (patch) | |
tree | a55292643977210cec2d74e90964db52ef6c1260 /acceptance/README.md | |
parent | 8d32dc4a67b03362b04e0a5eda717cb85dff9f27 (diff) | |
download | chef-c7758ccfa08a02c40561ac0cb683cefbf8bcab42.tar.gz |
Add acceptance test to run git cookbook
Diffstat (limited to 'acceptance/README.md')
-rw-r--r-- | acceptance/README.md | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/acceptance/README.md b/acceptance/README.md index 5f6bfc45ba..8f957debb2 100644 --- a/acceptance/README.md +++ b/acceptance/README.md @@ -16,15 +16,22 @@ export APPBUNDLER_ALLOW_RVM=true ### Setting up and running a test suite To get started, do a bundle install from the acceptance directory: ```shell -chef/acceptance$ bundle install +chef/acceptance$ bundle install --binstubs ``` To get some basic info and ensure chef-acceptance can be run, do: ```shell -chef/acceptance$ bundle exec chef-acceptance info +chef/acceptance$ bin/chef-acceptance info ``` To run a particular test suite, do the following: ```shell -chef/acceptance$ bundle exec chef-acceptance test TEST_SUITE +chef/acceptance$ bin/chef-acceptance test TEST_SUITE +``` + +To restrict which OS's will run, use the KITCHEN_INSTANCES environment variable: + +```shell +chef/acceptance$ export KITCHEN_INSTANCES=*-ubuntu-1404 +chef/acceptance$ bin/chef-acceptance test cookbook-git ``` |