[chef] How to test multiple cookbooks with Test Kitchen 1.0?


Chronological Thread 
  • From: Ryutaro YOSHIBA < >
  • To:
  • Subject: [chef] How to test multiple cookbooks with Test Kitchen 1.0?
  • Date: Sat, 22 Jun 2013 04:52:54 +0800

Hi,

I've been seeking the ways how to test multiple cookbooks on 1 vagrant instance.

I'm using Test Kitchen 1.0 and the test of single cookbook works fine with the structure below.

CookbookA
--- test
  --- integration
    --- serverspec
      --- localhost
        --- foo_spec.rb
   
I have CookbookB, CookbookC... and I'd like to run all tests of all cookbooks on 1 vagrant instance 
because it takes long time to import vagrant machine per cookbook and I want to test integrity of all cookbooks.

When I used Test Kitchen 0.7, I could test cookbooks with the technique described in https://gist.github.com/ingineering/4323301 .
But I think on Test Kitchen 1.0, I think this technique can not be used.

Thanks!!

--
--
Ryutaro YOSHIBA / Ryuzee
http://www.ryuzee.com
http://twitter.com/ryuzee
--




Archive powered by MHonArc 2.6.16.

§