title: How to get Resharper to allow underscores in method names but only in Tests?
body: <p>I know that there is a way to do this, but I can't find it again.</p>
  
  <p>So, does any one know how to allow Resharper to allow underscores in unit tests?</p>
  
  <p>So, for example I want this to be OK</p>
  
  <hr>
  
  <p><strong>In MyClassTest.cs</strong></p>
  
  <pre><code>public void MyMethodName_StateUnderTest_ExpectedResult()
  {}
  </code></pre>
  
  <hr>
  
  <p>But I want this to flag:</p>
  
  <hr>
  
  <p><strong>In MyClass.cs</strong></p>
  
  <pre><code>public void MyPoorly_Named_Method()
  {}
  </code></pre>
  
  <hr>
  
  <p>Thanks for any help</p>