TestContext.TestRunResultsDirectory Property

Definition

Gets directory for test run result files. Typically a subdirectory of ResultsDirectory.

public virtual string TestRunResultsDirectory { get; }
public virtual string? TestRunResultsDirectory { get; }
member this.TestRunResultsDirectory : string
Public Overridable ReadOnly Property TestRunResultsDirectory As String

Property Value

Remarks

Despite the similar names, this directory is typically a child of TestResultsDirectory, not the other way around. For example, with ResultsDirectory set to ...\In on a machine named BUILD01:

TestResultsDirectory    => ...\In
TestRunResultsDirectory => ...\In\BUILD01

When run directory information is unavailable, the platform services layer can return the same path for both properties.

Applies to