Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use bdd naming style with Resharper 4.5?

Tags:

c#

resharper

bdd

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.

like image 585
Michael Hedgpeth Avatar asked Apr 16 '09 18:04

Michael Hedgpeth


1 Answers

How to change the ReSharper naming style for test methods

like image 180
Ohad Schneider Avatar answered Sep 28 '22 03:09

Ohad Schneider