You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -787,6 +787,26 @@ Given "a passthru command '(?<Command>[A-Z][a-z]+-[A-Z][a-z]+)' with (?<Paramete
787
787
Invoke-Expression$Function
788
788
}
789
789
790
+
Given "a passthru command '(?<Command>[A-Z][a-z]+-[A-Z][a-z]+)' with (?<Parameters>.*) parameters that calls Get-ParameterValue(?<FromFile> with a file config)?" {
Copy file name to clipboardExpand all lines: Specs/ScriptAnalyzer.feature
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Feature: Passes Script Analyzer
5
5
6
6
Scenario: ScriptAnalyzer on the compiled module output
7
7
Given the configuration module is imported
8
-
When we run ScriptAnalyzer on 'C:\Users\Jaykul\Projects\Modules\Configuration\1.4.5' with 'C:\Users\Jaykul\Projects\Modules\Configuration\PSScriptAnalyzerSettings.psd1'
8
+
When we run ScriptAnalyzer on 'C:\Users\Jaykul\Projects\Modules\Configuration\1.5.5' with 'C:\Users\Jaykul\Projects\Modules\Configuration\PSScriptAnalyzerSettings.psd1'
9
9
10
10
Then it passes the ScriptAnalyzer rule PSAlignAssignmentStatement
11
11
Then it passes the ScriptAnalyzer rule PSAvoidUsingCmdletAliases
@@ -58,6 +58,7 @@ Feature: Passes Script Analyzer
58
58
Then it passes the ScriptAnalyzer rule PSUsePSCredentialType
59
59
Then it passes the ScriptAnalyzer rule PSShouldProcess
60
60
Then it passes the ScriptAnalyzer rule PSUseShouldProcessForStateChangingFunctions
61
+
Then it passes the ScriptAnalyzer rule PSUseSingularNouns
61
62
Then it passes the ScriptAnalyzer rule PSUseSupportsShouldProcess
62
63
Then it passes the ScriptAnalyzer rule PSUseToExportFieldsInManifest
63
64
Then it passes the ScriptAnalyzer rule PSUseUsingScopeModifierInNewRunspaces
0 commit comments