Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Test Kitchen

Mathias Lafeldt edited this page Nov 28, 2014 · 3 revisions

chef-runner is able to provision Test Kitchen instances that are reachable over SSH.

To get a list of all instances, run kitchen list inside a directory with a .kitchen.yml file. Then either use kitchen create, kitchen converge, or kitchen verify to bring up the instance you want to use. Finally, pass the name of that instance to chef-runner via -K (or --kitchen). If you only specify a portion of the instance name, chef-runner will use the first instance containing that string in its name.

Example:

$ kitchen converge default-ubuntu-1404
$ chef-runner -K default-ubuntu-1404 ...

Or, with a partial instance name:

$ chef-runner -K ubuntu ...
Clone this wiki locally