Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate TestContext properties kept for compatibility #1453

Closed
Evangelink opened this issue Dec 12, 2022 · 0 comments · Fixed by #1458
Closed

Deprecate TestContext properties kept for compatibility #1453

Evangelink opened this issue Dec 12, 2022 · 0 comments · Fixed by #1458

Comments

@Evangelink
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant