Language

RetryResult.AllResults Property

Definition

Gets the test results of all retry attempts, in the order they were added. Each element corresponds to a single attempt and holds the test results produced by that attempt.

public System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.TestTools.UnitTesting.TestResult[]> AllResults { get; }
member this.AllResults : System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.TestTools.UnitTesting.TestResult[]>
Public ReadOnly Property AllResults As IReadOnlyList(Of TestResult())

Property Value

IReadOnlyList<Microsoft.VisualStudio.TestTools.UnitTesting.TestResult[]>

Remarks

All attempts are reported to Microsoft.Testing.Platform: the last one as the test's outcome, the earlier ones tagged as superseded so tooling can surface the retry (see the platform's RetryAttemptProperty). The VSTest host has no notion of attempts, so it receives only the final result.

Applies to