title: Is it possible to define custom naming conventions for resharper?
body: <p>I'm using Resharper (with the StyleCop plugin, although I don't think that's relevant to the question/answer) to enforce naming conventions amongst other things in our code base. Pretty much everywhere this works brilliantly, with one exception.</p>
  
  <p>For test method names I prefer the following convention:</p>
  
  <blockquote>
    <p>ThingOrBehaviourUnderTest_Action_ExpectedOutcome</p>
  </blockquote>
  
  <p>Currently this results in an inconsistent naming warning and to-date I've just ignored it (I know I can disable the warning in that file, but then it disables the warning for all any other naming inconsistencies). In the list of styles I can assign Resharper offers camel case, which would result in:</p>
  
  <blockquote>
    <p>ThingOrBehaviourUnderTestActionExpectedOutcome</p>
  </blockquote>
  
  <p>or underscore separated words:</p>
  
  <blockquote>
    <p>Thing_or_behaviour_under_test_action_expected_outcome</p>
  </blockquote>
  
  <p>Both are close to what I want, but not quite there. I guess I'm after a way of allowing underscores as valid characters in camel cased test method names, or a way of supporting a custom naming convention. Is this possible?</p>