Information Technology Reference
In-Depth Information
As Figure 16-6 shows, the name of the suite can be found in the suites: stanza of the .kit-
chen.yml . default is the suite name that is initially generated. Although not covered in this
book, you can use the suite capability of Test Kitchen to run sets of tests with different run
lists and attributes, perhaps exercising conditional functionality in your cookbook.
Figure 16-6. Finding the suite name in the .kitchen.yml
In our case, the suite name is default , so create a directory for that now under the apache-
test cookbook root.
Linux/Mac OS X:
$ mkdir -p test/integration/default
Windows:
> mkdir test\integration\default
Further, we need to create a directory underneath test/integration/default to tell test kitchen
that we want to use the serverspec test plugin. Rather than specifying this in the .kit-
Search WWH ::




Custom Search