Skip to content

Deprecate TestContext properties kept for compatibility #1453

@Evangelink

Description

@Evangelink

MSTest exposes some properties (see https://github.com/microsoft/testfx/blob/main/src/TestFramework/TestFramework.Extensions/TestContext.cs#L98-L119) that are kept only for compatibility with MSTest v1. These properties should have been marked as deprecated a long time ago.

I suggest that we mark TestContext.TestDir, TestContext.TestDeploymentDir and TestContext.TestLogsDir as obsolete and we indicate the correct replacement property. This way we will be able to remove them in the next version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions