Hi,

is there any "officially" recommended default/standard method to realize
Puppet module unit test beyond linting (puppet-lint)? Compatibility to
version < 3.x is nice but NOT needed.


My main questions are:

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?



2) There are helpful blog postings and articles out there [1] [2] [3]
[4]. However, none of them gives me a clue if there is a commonly
recommended tool/method to implement Unit test, some kind of
"use X because everybody is using it, you won't get compatibility issues
and the dev-community behind is healthy".

A hint out of e.g. Puppet Labs or experienced community members
Point-of-View would be very helpful. Are there any recommendations?
Getting familiar with testing needs some work which I don't want to
invest into the wrong  candidate/method/tools. ;-)



[1] <http://puppetlabs.com/blog/testing-modules-in-the-puppet-forge/>
[2]
<http://bombasticmonkey.com/2012/03/02/automatically-test-your-puppet-modules-with-travis-ci/>
[3] <http://puppetlabs.com/blog/testing-modules-in-the-puppet-forge/>
[4]
<http://projects.puppetlabs.com/projects/puppet/wiki/Development_Writing_Tests>


-- 
Andreas <http://blog.andreas-haerter.com>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to