Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Issues
  • Loading branch information
MariusStorhaug committed Mar 28, 2024
commit 41f6a41da62cc794365f27681b3c13c8b97d3822
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Describe "PSScriptAnalyzer tests using settings file [$relativeSettingsFilePath]
Write-Warning "Found [$($testResults.Count)] issues"
}

Context '<_>' -ForEach 'Error', 'Warning', 'Informational' {
Context 'Severity: [<_>]' -ForEach 'Error', 'Warning', 'Information' {
It '<CommonName> (<RuleName>)' -ForEach ($rules | Where-Object -Property Severity -EQ $_) {
$issues = [Collections.Generic.List[string]]::new()
$testResults | Where-Object -Property RuleName -EQ $RuleName | ForEach-Object {
Expand Down