testfx icon indicating copy to clipboard operation
testfx copied to clipboard

Analyzer: Ensure to use Microsoft.VisualStudio.TestTools.UnitTesting.DescriptionAttribute and not System.ComponentModel.DescriptionAttribute

Open fforjan opened this issue 1 year ago • 2 comments

It is very easy to use System.ComponentModel.Description instead of a Microsoft.VisualStudio.TestTools.UnitTesting attribute. Having an analyzer which ensure that on a TestMethod we use the right attribute will be good.

AB#2079032

fforjan avatar May 24 '24 15:05 fforjan

Yeah good idea!

Evangelink avatar May 24 '24 17:05 Evangelink

This is great. I was hit by them same just this week.

nohwnd avatar May 27 '24 08:05 nohwnd

awesome, cannot wait for next release, Thanks @engyebrahim and @Evangelink !

fforjan avatar Jul 03 '24 18:07 fforjan