Commit 2cebb17
Fix OverrideResult skip reason not being displayed (#4264)
* Initial plan
* Fix OverrideResult to reflect skip reason when Skipped is set
When OverrideResult is called with TestState.Skipped and a reason,
the reason was not being reflected in test output. The code was only
checking test.Context.SkipReason but not the OverrideReason from the
overridden result.
Updated TestCoordinator to check OverrideReason when the result is
overridden to Skipped.
Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>1 parent 6941bc1 commit 2cebb17
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
280 | 283 | | |
281 | 284 | | |
282 | 285 | | |
| |||
0 commit comments