On Mon, Jun 18, 2018 at 11:03 AM Darragh Bailey <[email protected]>
wrote:

>
>
>
>
> On Mon, 18 Jun 2018, 09:19 David Schmitt, <[email protected]>
> wrote:
>
>> Hi Darragh,
>>
>> SimpleCov is a ruby-only solution and the puppet code (*.pp) coverage
>> from rspec-puppet does not integrate into it. As far as I can see there is
>> currently no way to get at the raw data without hacking rspec-puppet
>> itself
>> <https://github.com/rodjek/rspec-puppet/blob/3a053673a32587e3507597a7527e1a90a8425cc4/lib/rspec-puppet/coverage.rb#L72>
>> .
>>
>>
>> Cheers, David
>>
>
> Thanks that's good to know. Is there any coverage solution out there for
> puppet code that would produce something like simplecov, rather than just a
> simple summary of resources covered?
>

Not to my knowledge. From the code linked above it should be
straight-forward for an engaged coder to create the required report file in
simplecov's format to upload to a service like http://codecov.io for
display/evaluation purposes. I'm sure the PDK Team would welcome such an
addition.

Cheers, David


>
> --
>
> Darragh Bailey
> "Nothing is foolproof to a sufficiently talented fool" - unknown
>
>
> --
> 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/CACR765_qGFCWsi7vKSPBGLN8V%2BmkMZuUa14u2i8iQxS%2B_Yzrng%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-users/CACR765_qGFCWsi7vKSPBGLN8V%2BmkMZuUa14u2i8iQxS%2B_Yzrng%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Cheers, David

https://twitter.com/dev_el_ops

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

Reply via email to