How to get Resharper to allow underscores in method names but only in Tests?

后端 未结 2 1095
夕颜
夕颜 2021-02-01 15:47

I know that there is a way to do this, but I can\'t find it again.

So, does any one know how to allow Resharper to allow underscores in unit tests?

So, for examp

相关标签:
2条回答
  • 2021-02-01 16:19

    This post demonstrates how to configure this: http://atombrenner.blogspot.com/2010/07/how-to-change-resharper-naming-style.html

    UPDATE: The Machine.Specifications testing framework extends ReSharper to allow for custom naming styles for the tests/specs. Very cool; wish other frameworks did likewise. http://lostechies.com/derekgreer/2010/02/11/resharper-naming-style-for-machine-specifications/

    0 讨论(0)
  • 2021-02-01 16:38

    The AgentSmith plugin for Resharper gives you this level of control over naming.

    0 讨论(0)
提交回复
热议问题