Hi all, I have somehow managed to write basic rspec test . But i need to run the rspec test on multiple servers . Please some one provide guidance on running rspec against different node groups or envs ?
Regards, Nandha On Friday, 26 March 2021 at 19:00:58 UTC+5:30 [email protected] wrote: > Hi David , > > Yes I did see the site , but it doesn't help me much with proper > procedure. > > I am looking out to run test against list of nodegroups and how can I > achieve that ? > > Regards, > Nandha > > On Fri, 26 Mar, 2021, 3:30 pm David Schmitt, <[email protected]> wrote: > >> 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 >> >> <https://groups.google.com/d/msgid/puppet-users/CALF7fHaZnnVKafvQtxf9ti9XvNeJwjzAVA9xgyKr7jvDwn%2BWWA%40mail.gmail.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/c8005b9f-de60-41e4-a3c0-2fcd9f2e5008n%40googlegroups.com.
