Hi! On Thu, Dec 13, 2012 at 11:42:19AM -0800, Nan Liu wrote: > On Thu, Dec 13, 2012 at 11:01 AM, Andreas Haerter > <list+puppet-us...@mail-node.com> wrote: > > 1) I know there are different, well-known methods: > > - Test::Unit > > - rspec-puppet > > - cucumber-puppet > > > > Is there anything missing worth a look? Which are deprecated, wich are > > future-proof? > > Not aware of Test::Unit. Cucumber Puppet is deprecated. rspec-puppet is > the way to go.
rspec-puppet is great for testing an isolated module. For testing a complete machine or all of the catalog, I very much prefer cucumber-puppet. That's why I forked the repo and develop it further [1]. ruby 1.9 and puppet 3 are supported by my fork. If you use Puppet 2.7 and Ruby 1.8, I recommend the official gem. If you have puppet 3, the you could give my fork a try. Up until now, it's just a few fixes, I haven't had the time to integrate them into the bigger picture with backwards compatibility and so on. I have puppet-lint and cucumber-puppet integrated into my Jenkins-setup. Cheers, Matthias Viehweger [1] https://github.com/kronn/cucumber-puppet -- Serververwaltung und Softwareentwicklung https://www.heute-kaufen.de Prinzessinnenstraße 20 - 10969 Berlin
signature.asc
Description: Digital signature