On 4 August 2015 at 20:37, Peter Berghold <[email protected]> wrote: > Is there a newer set of documents on doing Spec testing of Puppet modules > than this link? > https://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing > > I am running into a brick wall getting this to work so I have to assume I'm > doing something wrong... >
If you could post a test case I'd be happy to take a look. My experience is starting from a working example is useful, shameless self promotion I know but, the puppet module skeleton should run a set of unit tests out of the box: https://github.com/garethr/puppet-module-skeleton Even if you don't use the skeleton you should be able to get the tests running at least and then port to your own module. Gareth > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAArvnv14GJ0v6Ef0rS4KAcrOf1C%3DUiu%3DpM%2BsnJcxjsptqeipCQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- Gareth Rushgrove @garethr devopsweekly.com morethanseven.net garethrushgrove.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAFi_6yKw%3Do1Ub5SOoMJ4pyvbQR77vk6yxxyJ5VXvJNw%2BYX0f5g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
