Hello,


For rspec I have set the environment variable CI_SPEC_OPTIONS to '-r yarjuf -f 
JUnit -o result.xml -f progress'. This uses the gem yarjuf to generate a Junit 
results.xml file (which is saved as an artifact in Gitlab).



-----Original message-----
From: Luke Bigum <[email protected]>
Sent: Friday 10th May 2019 18:38
To: Puppet Users <[email protected]>
Subject: Re: [Puppet Users] converting Puppet reports to JUnit

On Friday, 10 May 2019 14:04:33 UTC+1, Henrik Lindberg wrote: I remember using 
a JUnit compatible report format plugin for rspec. 
Maybe that is what you are looking for? 
 
This was quite some time ago and I don't remember its name. 

Sort of. I also looking into rspec report formats as that would plug in better 
to rspec-puppet / beaker-puppet.  It's more to take the raw Puppet report YAML 
(https://puppet.com/docs/puppet/6.4/format_report.html) and converting it to a 
testing framework report format (an Junit is pretty common).  End result would 
look like any failures in the Puppet run could be presented in a CI system as 
"test" failures.

The YAML's pretty simple, it won't be too hard to write, just thought someone 
might have a great library that already does it...  :-)


-- 
 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] 
<mailto:[email protected]> .
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/46c4dd81-5df0-4f38-95bb-20924222f916%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
 

-- 
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/zarafa.5cd91718.1d45.1808561a3b9872b9%40anjie.dontpanic.nl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to