KevinMarquette / PlasterTemplates

A set of Plaster templates that I use.
MIT License
37 stars 9 forks source link

PSScriptAnalyzer rules run the slow way #24

Closed KevinMarquette closed 6 years ago

KevinMarquette commented 6 years ago

Need to rework the PSScriptAnalyzer to not enumerate each rule the way it does. I have found a better pattern where you invoke PSScriptAnalyzer once per file (instead of once per rule per file). If there are no issues, create a passing It statement. If it fails, enumerate the output and create a failing It statement for each item.

For bootstrapping existing modules, it's easy to make those failing tests pending or skipped if needed.

christianacca commented 6 years ago

Sounds good

christianacca commented 6 years ago

Is this ready to be merged to master?