pdk icon indicating copy to clipboard operation
pdk copied to clipboard

Make `pdk test unit --format=junit:report.xml --verbose` both show rspec documentation and generate junit file

Open JohnEricson opened this issue 3 years ago • 2 comments

Discussed in https://github.com/puppetlabs/pdk/discussions/1122

Originally posted by JohnEricson July 7, 2021 PDK version: 2.1.1 OS: Windows

I have a Jenkins job that runs pdk test unit --format=junit:report.xml on all of my modules. Now I would also like the job to show the rspec documentation format by adding the --verbose option to pdk. This to make it easier for people to see the status/documentation of all the tests in the module. But --verbose doesn't show anything when used together with --format=junit:report.xml. But it works fine when used with --format=.. like this pdk test unit --verbose. I would like pdk to be improved so both of these options work together.

JohnEricson avatar Jul 07 '21 15:07 JohnEricson

For wider visibility, response added here

sanfrancrisko avatar Nov 01 '21 10:11 sanfrancrisko

This issue has been marked stale because it is open with no recent activity. The PDK Team is actively prioritizing existing bugs and new features, if this issue is still important to you please comment and we will add this to our backlog to complete.

github-actions[bot] avatar May 01 '22 02:05 github-actions[bot]

@chelnak :: Are we able to close this issue?

coreymbe avatar May 30 '23 22:05 coreymbe

Yes sir! The feature will be included in the upcoming 3.0 release.

chelnak avatar May 31 '23 07:05 chelnak

Good job guys! 👍

JohnEricson avatar May 31 '23 07:05 JohnEricson