On Sep 25, 2014 6:02 AM, "Johan De Wit" <jo...@open-future.be> wrote:
>
> For rspec unit testing, one must keep in mind that you are testing the
content of the catalog.
>

For *rspec-puppet* unit testing, that is.

There is also *rspec-puppet-augeas*, but unfortunately it requires a
downrev of rspec-puppet until there is a new release of rspec-puppet, which
re-enables the interface that -augeas needs. (Which is less painful w/RVM
and gemsets.)

r-p-a also suffers from using augeas conditions to test expectations, which
makes for a chicken-and-egg situation: if you are not confident with your
augeas skills to make the change, you cannot be confident in your
verification of the result. (I have not investigated the feasibility of
getting the contents of the temp file and using regex or string matches,
but it might be possible.)

Wil

-- 
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/CAMmm3r7f9oD1q5aW6zH%2Be5Of%3DHUdYSakEAezNri%3DvZBeyL5ujA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to