다음을 통해 공유


TestContext.ResultsDirectory Property

Gets the top-level directory that contains test results and test result directories for the test run. This is typically a subdirectory of TestRunDirectory.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ResultsDirectory As String
public virtual string ResultsDirectory { get; }
public:
virtual property String^ ResultsDirectory {
    String^ get ();
}
abstract ResultsDirectory : string with get 
override ResultsDirectory : string with get
function get ResultsDirectory () : String

Property Value

Type: String
The top-level directory that contains test results and test result directories for the test run.

.NET Framework Security

See Also

Reference

TestContext Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace