Commit bae9b0c
authored
🪲 [Fix]: Don't count filtered tests as failed tests (#7)
## Description
This pull request simplifies the test result handling logic in the
`scripts/main.ps1` file by removing all checks and reporting related to
tests that were "NotRun". The script now only considers passed, failed,
and inconclusive tests when determining test failures and reporting
errors.
Test result handling simplification:
* Removed all logic related to the `NotRun` test status, including the
`$hasNotRunValue` variable, checks for `NotRun` in test failure
conditions, and error reporting for tests that were not run.
[[1]](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L117)
[[2]](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L126-R125)
[[3]](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L182-L185)1 parent d9fbbed commit bae9b0c
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
| |||
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
126 | | - | |
127 | | - | |
| 125 | + | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
| |||
179 | 177 | | |
180 | 178 | | |
181 | 179 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | 180 | | |
187 | 181 | | |
188 | 182 | | |
| |||
0 commit comments