microsoft / testfx

MSTest framework and adapter
MIT License
743 stars 255 forks source link

Prefer `TestCleanup` over `Dispose`/`DisposeAsync` method #2376

Closed Evangelink closed 7 months ago

Evangelink commented 8 months ago

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 commented 7 months ago

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