File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55# *#
66* ~
77. #* #
8+ .kitchen /
9+ .kitchen.local.yml
Original file line number Diff line number Diff line change 1+ ---
2+ driver_plugin : vagrant
3+
4+ platforms :
5+ - name : ubuntu-12.04
6+ driver_config :
7+ box : canonical-ubuntu-12.04
8+ box_url : http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box
9+ require_chef_omnibus : true
10+ run_list : ["recipe[apt]"]
11+ - name : ubuntu-10.04
12+ driver_config :
13+ box : opscode-ubuntu-10.04
14+ box_url : http://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_chef-11.2.0.box
15+ run_list : ["recipe[apt]"]
16+ - name : centos-6.3
17+ driver_config :
18+ box : opscode-centos-6.3
19+ box_url : http://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.3_chef-11.2.0.box
20+ - name : centos-5.8
21+ driver_config :
22+ box : opscode-centos-5.8
23+ box_url : http://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-5.8_chef-11.2.0.box
24+
25+ suites :
26+ - name : openjdk
27+ run_list : ["recipe[minitest-handler]", "recipe[java]"]
28+ attributes : {}
29+
30+ - name : oracle
31+ run_list : ["recipe[minitest-handler]", "recipe[java]"]
32+ attributes :
33+ java :
34+ oracle :
35+ accept_oracle_download_terms : true
36+ install_flavor : " oracle"
Original file line number Diff line number Diff line change 1+ site :opscode
2+ metadata
3+
4+ group :integration do
5+ cookbook "apt"
6+ cookbook "minitest-handler"
7+ end
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ This cookbook includes support for running tests via Test Kitchen (1.0). This has some requirements.
2+
3+ 1 . You must be using the Git repository, rather than the downloaded cookbook from the Chef Community Site.
4+ 2 . You must have Vagrant 1.1 installed.
5+ 3 . You must have a "sane" Ruby 1.9.3 environment.
6+
7+ Once the above requirements are met, install the additional requirements:
8+
9+ Install the berkshelf plugin for vagrant, and berkshelf to your local Ruby environment.
10+
11+ vagrant plugin install berkshelf-vagrant
12+ gem install berkshelf
13+
14+ Install Test Kitchen 1.0 (unreleased yet, use the alpha / prerelease version).
15+
16+ gem install test-kitchen --pre
17+
18+ Install the Vagrant driver for Test Kitchen.
19+
20+ gem install kitchen-vagrant
21+
22+ Once the above are installed, you should be able to run Test Kitchen:
23+
24+ kitchen list
25+ kitchen test
Load diff This file was deleted.
Load diff This file was deleted.
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments