Bryan,
I'd suggest to look at this in a different way. Creating test (or _test) recipes you can create test scenarios for your lwrp to pass (or fail) on. I have several cookbooks that exhibit this behavior such as https://github.com/damm/diamond and https://github.com/damm/carbon for example. Testing to make sure your cookbook compiles is great, making sure it does what you want, fantastic. Testing the ways you use the cookbook (or don't use it) is even better. As an early adopter of Chef, let alone testing my Chef Cookbooks I can tell you it's made my life a whole lot easier. It's not a far stretch to do write your tests before your cookbook. P.S. if your worried about pollution or creating cruft, look at your tests as examples of how to use your LWRP. Scott On 5/1/13 10:30 AM, Bryan Stenson wrote: " type="cite"> |
Archive powered by MHonArc 2.6.16.