Do any of you have any tips in regards to unit testing function using the v4 API in modules?
I would like to do something like this: https://github.com/puppetlabs/puppet/blob/master/spec/unit/functions/scanf_spec.rb But PuppetSpec::Compiler & Matchers::Resource are in the spec/lib directory of puppet which I can't depend on from a module AFAIK. Is there something equivalent in puppetlabs_spec_helper that works for v4 API functions? -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev/CAAAzDLc7PCMdKG3VdtfQBkrX1bapzSNKcatCbHDG3WGHm%2BbWZw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
