On 2018-09-01 01:40, Rob Nelson wrote:
This sounds great. My only concern is that I don’t see tests mentioned in the 
example. Will rspec-puppet be updated at the same time so that we can test 
deferred functions out of the gate? If so, I’d love to see what that looks 
like, in case we have any comments on that. Mocking some things like facts and 
functions is a little clunky at times. Hopefully deferred function mocking will 
be a little easier. Thanks.


There is no difference between a regular function and one that is called in a deferred way. You can unit test functions that will run on the agent the same way as regular functions.

- henrik
--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

--
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/pmdm32%245hj%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to