| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…eters encountered
Enhance ReviewUnusedParameter to bail out if $MyInvocation.BoundParameters encountered
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks. Implementation looks good to me, just a minor suggestion.
Every new feature or fix needs to be accompanied by one or more test cases though. If you look qt the existing tests, it should be very easy to add 2 tests for the cases that you added:
PSScriptAnalyzer/Tests/Rules/ReviewUnusedParameter.tests.ps1
Lines 53 to 57 in 67805a1
Also, when you use a closing keyword in the PR description it will close the referenced issue
https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, with two small comments
Sorry, something went wrong.
- Add pester tests
|
Thanks both for your feedback. Christoph Bergmeister (@bergmeister) did not approve the PR, so requested review again.
Writing pester tests for testing PSSA rule behavior is the most easiest job I have come across :) |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks, looks good 😊
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
PR Checklist