c# - Is there a way to apply [TestMethod] to all methods withing a class -


i getting hacked off having type [testmethod] @ top of each method in class. @ present have on 600 tests in project. there way can add attribute through , il weaver postsharp or fody? or can add 1 class attribute same?

cheers

the idea comes in mind me write own method attribute [classinitialize] run before tests execution. method implementation: using reflection go through methods in specific class , add attribute @ runtime. there no out of box solution problem.


Comments

Popular posts from this blog

c# - OpenXML hanging while writing elements -

php - regexp cyrillic filename not matches -

sql - Select Query has unexpected multiple records (MS Access) -