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
@@ -2126,7 +2126,7 @@ function PostProcess-DiscoveredBlock {
2126
2126
}
2127
2127
2128
2128
$t.Skip=$true
2129
-
$t.SkipBecause=$b.SkipBecause
2129
+
$t.Reason=$b.Reason
2130
2130
}
2131
2131
}
2132
2132
}
@@ -2554,14 +2554,14 @@ function New-ParametrizedTest () {
2554
2554
[object[]] $Data,
2555
2555
[Switch] $Focus,
2556
2556
[Switch] $Skip,
2557
-
[String] $SkipBecause
2557
+
[String] $Reason
2558
2558
)
2559
2559
2560
2560
# using the position of It as Id for the the test so we can join multiple testcases together, this should be unique enough because it only needs to be unique for the current block.
2561
2561
# TODO: Id is used by NUnit2.5 and 3 testresults to group. A better way to solve this?
Copy file name to clipboardExpand all lines: src/functions/Context.ps1
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@
89
89
90
90
# [Switch] $Focus,
91
91
[Switch] $Skip,
92
-
[String] $SkipBecause,
92
+
[String] $Reason,
93
93
[Switch] $AllowNullOrEmptyForEach,
94
94
95
95
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidAssignmentToAutomaticVariable','', Justification ='ForEach is not used in Foreach-Object loop')]
Copy file name to clipboardExpand all lines: src/functions/Describe.ps1
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@
97
97
98
98
# [Switch] $Focus,
99
99
[Switch] $Skip,
100
-
[String] $SkipBecause,
100
+
[String] $Reason,
101
101
[Switch] $AllowNullOrEmptyForEach,
102
102
103
103
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidAssignmentToAutomaticVariable','', Justification ='ForEach is not used in Foreach-Object loop')]
0 commit comments