Did you see https://rspec-puppet.com/ ?
On Thu, 25 Mar 2021 at 18:00, [email protected] <[email protected]> wrote: > Hi all , > I have started my rspec code to test modules for unit testing .as there is > no good document to start with , Can you share some of your rspec code > testing the modules using rspec and steps to run spec against servers , > > Regards, > Nandha > > On Friday, 6 April 2018 at 20:00:49 UTC+5:30 jcbollinger wrote: > >> >> >> On Friday, April 6, 2018 at 9:19:04 AM UTC-5, Nick Miller wrote: >>> >>> There was some discussion on a GitHub issue relating to this: >>> https://github.com/rodjek/rspec-puppet/pull/643 >>> >>> >> Thanks, NIck. It looks like I've finally got this sorted. I went back >> to twiddling the trusted_node_data and derive_node_facts_from_nodename >> rspec-puppet parameters, tweaked the tests, and made some spelling >> corrections in the class under test. My tests are now passing, and I'm >> satisfied that I understand why. >> >> Cheers, >> >> John >> >> >>> -- > 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/ddf8c041-7e44-4e2b-b381-8f8e9c48e422n%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/ddf8c041-7e44-4e2b-b381-8f8e9c48e422n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CALF7fHaZnnVKafvQtxf9ti9XvNeJwjzAVA9xgyKr7jvDwn%2BWWA%40mail.gmail.com.
