@@ -161,19 +161,22 @@ public void InitializePublisher(IExecutionContext context, string projectName, V
161
161
162
162
if ( testResultByFQN . TryGetValue ( testResultFQN , out List < TestCaseResult > inputs ) )
163
163
{
164
- foreach ( var input in inputs )
164
+ if ( testRunData [ testRunDataIterator ] . TestResults [ testResultDataIterator ] . Outcome != "NotExecuted" )
165
165
{
166
- var testCaseResultDataUpdated = TestResultUtils . CloneTestCaseResultData ( testRunData [ testRunDataIterator ] . TestResults [ testResultDataIterator ] ) ;
167
-
168
- testCaseResultDataUpdated . TestPoint = input . TestPoint ;
169
- testCaseResultDataUpdated . TestCaseTitle = input . TestCaseTitle ;
170
- testCaseResultDataUpdated . Configuration = input . Configuration ;
171
- testCaseResultDataUpdated . TestCase = input . TestCase ;
172
- testCaseResultDataUpdated . Owner = input . Owner ;
173
- testCaseResultDataUpdated . State = "5" ;
174
- testCaseResultDataUpdated . TestCaseRevision = input . TestCaseRevision ;
175
-
176
- testResultsUpdated . Add ( testCaseResultDataUpdated ) ;
166
+ foreach ( var input in inputs )
167
+ {
168
+ var testCaseResultDataUpdated = TestResultUtils . CloneTestCaseResultData ( testRunData [ testRunDataIterator ] . TestResults [ testResultDataIterator ] ) ;
169
+
170
+ testCaseResultDataUpdated . TestPoint = input . TestPoint ;
171
+ testCaseResultDataUpdated . TestCaseTitle = input . TestCaseTitle ;
172
+ testCaseResultDataUpdated . Configuration = input . Configuration ;
173
+ testCaseResultDataUpdated . TestCase = input . TestCase ;
174
+ testCaseResultDataUpdated . Owner = input . Owner ;
175
+ testCaseResultDataUpdated . State = "5" ;
176
+ testCaseResultDataUpdated . TestCaseRevision = input . TestCaseRevision ;
177
+
178
+ testResultsUpdated . Add ( testCaseResultDataUpdated ) ;
179
+ }
177
180
}
178
181
}
179
182
}
0 commit comments