Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consideration for additional OutputFormats? #533

Closed
RamblingCookieMonster opened this issue May 15, 2016 · 2 comments
Closed

Consideration for additional OutputFormats? #533

RamblingCookieMonster opened this issue May 15, 2016 · 2 comments

Comments

@RamblingCookieMonster
Copy link

RamblingCookieMonster commented May 15, 2016

Hi!

In recent years, we've seen a wealth of audit technology XYZ with PowerShell scripts. In the past few months or so, we've seen some of these start to leverage Pester as a means to assert things in scenarios ranging from monitoring, to infrastructure testing, to service validation.

Given that many of these scenarios would greatly benefit from further context around tests, it might be worth considering an extended output format, beyond traditional output offered by Pester.

If that makes sense, take a look at Chef Inspec, which offers something along these lines. I haven't had time to dive in too deeply, but I would imagine a free form hash table of sorts (similar to PrivateData in a module manifest) might be helpful, to avoid being locked into a particular schema.

Apologies if some of my phrasing is off, this isn't my area of expertise : )

Cheers!

@dlwyatt
Copy link
Member

dlwyatt commented May 16, 2016

I suspect that this sort of thing would belong in a module that happens to be a wrapper around Pester, similar to the operation validation framework that Microsoft did: https://github.com/PowerShell/Operation-Validation-Framework

In general, I'd be fine with adding other output formats. In this case it's the API bloat that I don't think should be added to Pester itself (adding commands or parameters for title / description / impact / etc.)

@RamblingCookieMonster
Copy link
Author

Hadn't considered the bloat, good call, thanks for the note!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants