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

Add function to support testing pipeline objects #30

Closed
BernieWhite opened this issue Dec 12, 2018 · 0 comments
Closed

Add function to support testing pipeline objects #30

BernieWhite opened this issue Dec 12, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@BernieWhite
Copy link
Member

BernieWhite commented Dec 12, 2018

Add a function like Test-PSRule to test a pipeline object against rules an return just a true or false.

  • The worst case of any rule evaluated for the object should be reported.
  • Inconclusive is reported as $False or fail, but also write a warning.
  • If no rules match report as $True or pass, but also write a warning.
@BernieWhite BernieWhite added the enhancement New feature or request label Dec 12, 2018
@BernieWhite BernieWhite added this to the v0.2.0 milestone Dec 24, 2018
@BernieWhite BernieWhite self-assigned this Dec 24, 2018
BernieWhite added a commit that referenced this issue Dec 24, 2018
- Add Test-PSRule command to return an overall $True or $False after evaluating rules for an object #30
- Improve reporting of inconclusive results and objects that are not processed by any rule #46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant