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

Prefer TestCleanup over Dispose/DisposeAsync method #2376

Closed
Evangelink opened this issue Feb 19, 2024 · 1 comment · Fixed by #2586
Closed

Prefer TestCleanup over Dispose/DisposeAsync method #2376

Evangelink opened this issue Feb 19, 2024 · 1 comment · Fixed by #2586

Comments

@Evangelink
Copy link
Member

Evangelink commented Feb 19, 2024

Enabled by default: false
Default severity: Info
Title: Prefer TestCleanup methods over Dispose/DisposeAsync

Flags any usage of Dispose or DisposeAsync on classes marked with [TestClass].

AB#1994935

@testplatform-bot
Copy link
Contributor

✅ Successfully linked to Azure Boards work item(s):

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.

2 participants