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


Chronological Thread 
  • From: Jeff Blaine < >
  • To:
  • Subject: [chef] Re: How to test multiple cookbooks with Test Kitchen 1.0?
  • Date: Fri, 21 Jun 2013 17:01:54 -0400

On 6/21/2013 4:52 PM, Ryutaro YOSHIBA wrote:
Hi,

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

I believe this is what the run_list is for in a TK "suite"

https://github.com/opscode/test-kitchen/wiki/Getting-Started


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.

§