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
Post a Comment