TestContext.TestLogsDir Property

Definition

Caution

This property is deprecated, use TestRunResultsDirectory for test run result files or TestResultsDirectory for test-specific result files instead. It will be removed in next version.

Gets directory for test run result files. Typically a subdirectory of ResultsDirectory. Same as TestRunResultsDirectory. Use that property for test run result files, or TestResultsDirectory for test-specific result files instead.

public virtual string TestLogsDir { get; }
public virtual string? TestLogsDir { get; }
[System.Obsolete("This property is deprecated, use TestRunResultsDirectory for test run result files or TestResultsDirectory for test-specific result files instead. It will be removed in next version.")]
public virtual string? TestLogsDir { get; }

Property Value

Attributes

Applies to

Продукт Версии (Устарело)
MSTest.TestFramework 2.2.0, 2.1.2, 2.2.10, 3.0.4 (3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0)