[chef] Re: Re: Re: Re: Re: Testing and Determining Test Coverage in Cookbooks


Chronological Thread 
  • From: Torben Knerr < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Testing and Determining Test Coverage in Cookbooks
  • Date: Mon, 8 Oct 2012 08:25:30 +0200


Am 08.10.2012 07:27 schrieb "Peter Donald" < "> >:
>
> On Mon, Oct 8, 2012 at 4:13 PM, Torben Knerr < "> > wrote:
> > Vagrant works well for me here, but the roundtrip times are naturally
> > longer. I wanted to play with LXC containers instead of using VirtualBox
> > (ideally Re-using my Vagrantfile), but haven't come to testing this yet.
> >
> > Anyone here on the list using LXC containers for testing Chef runs already?
>
> I have yet to do so myself. But I saw the creator of Toft [1] give a
> talk and demonstration of it and it looked really nice.
>
> [1] https://github.com/exceedhl/toft
>

Nice, looks promising. Now if that would also run on travis-ci, that would be super-neat!

Anyone tried that already?

> > For testing a complex setup like this I would go for a multivm Vagrantfile
> > and test the real scenario with multiple VMs - otherwise you are testing
> > something that dosen't reflect the real situation.
>
> We do that ...
>
> > Still it would be useful to have something like a special role for
> > development in addition.
>
> except we use a "chef_dev" environment instead of a role
>
>
> --
> Cheers,
>
> Peter Donald




Archive powered by MHonArc 2.6.16.

§