[chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Continuous Integration


Chronological Thread 
  • From: Andrew Shafer < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Continuous Integration
  • Date: Fri, 9 Jul 2010 10:30:09 -0600

Here's my thinking at this point... which could be wrong on every level.

There is really no good way to TDD/BDD configuration management for several reasons:
The recipes are already relatively declarative
Mocking is useless because it may not reflect 'ground truth'
The cycle times to really test convergence are relatively long

Trying to test if a package is installed or not is testing the framework, not the recipe IMHO.

I agree with the general sentiment that the functional service is the true test.

I'm leaning towards 'testing' at that level, ideally with (a superset of?) what should be used for the production monitoring system.

So the CI builds services, runs all the checks in test, green can go live and that's that.









Archive powered by MHonArc 2.6.16.

§