Reputation: 11
Im trying to run test from different cookbooks using just one kitchen.yml file but what seems to be happening is that it just runs the recipes and not the test. is there a way I can achieve this?
Upvotes: 0
Views: 455
Reputation: 54191
Make sure the folder for the tests matches the name of the suite. If you have a .kitchen.yml
like this:
platforms:
- name: ubuntu-12.04
- name: ubuntu-14.04
suites:
- name: default
run_list:
- recipe[foo]
- recipe[baz]
- name: other
run_list:
- recipe[bar]
Then tests would go under test/integration/default/
and test/integration/other/
respectively.
Upvotes: 1