pdk icon indicating copy to clipboard operation
pdk copied to clipboard

feature request: pdk test unit should provide for presenting log output

Open jcbollinger opened this issue 6 years ago • 7 comments

The pdk test unit CLI should provide an option or options for presenting the catalog builder's log output to the user, such as is generated by Puppet's debug(), notice(), etc. functions. Note that I am merely asking to see the log output, not to test it. This can be of great benefit for determining why tests fail. Even something as simple as a --loglevel option, defaulting to 'none', would be a tremendous help.

I've had a go at tweaking my tests and the spec_helper to get the output, without success. I'm uncertain whether that's because I've made the wrong mods or because pdk test unit is squashing the output, but in the end, I don't care. The reason to choose PDK or a similar tool is to avoid having to do that kind of thing myself in the first place.

jcbollinger avatar Mar 28 '18 14:03 jcbollinger

rspec-puppet changes tracked in https://github.com/rodjek/rspec-puppet/issues/672

rodjek avatar Apr 04 '18 23:04 rodjek

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 Aug 26 '21 01:08 github-actions[bot]

Pursuant to the no-issue-activity label: I am still interested in this feature being implemented.

jcbollinger avatar Aug 26 '21 12:08 jcbollinger

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 Feb 23 '22 01:02 github-actions[bot]

Again, I am am still interested in having this feature implemented.

jcbollinger avatar Feb 23 '22 14:02 jcbollinger

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 Aug 23 '22 02:08 github-actions[bot]

I would still like this feature.

jcbollinger avatar Aug 23 '22 12:08 jcbollinger