How to use bdd naming style with Resharper 4.5?
问题 I just upgraded to Resharper 4.5 and now see that all my BDDish test methods are marked as not conforming to the naming standard. My naming convention is like this: public void Something_ShouldHaveThisResult() Resharper doesn't like the underscore in the method. Is there a way to turn this off, just for test methods? I have a normal naming convention for the rest of my code. 回答1: On the menu: Resharper | Options -> Languages -> Common -> Naming Style: remove what ever naming style you want.