TestContext.TestRunResultsDirectory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.