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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -