TestContext.TestRunDirectory Property

Definition

Gets base directory for the test run, under which deployed files and result files are stored.

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

Property Value

Remarks

This is the root of the layout used by the other deployment directory properties. A typical run produces:

<solution>\TestResults\<run-guid>        // TestRunDirectory
    \In                                  // ResultsDirectory and TestResultsDirectory
        \<MachineName>                    // TestRunResultsDirectory
    \Out                                 // DeploymentDirectory

Applies to