custom namestyle for unit test method
Hi,
I wonder if I can configure R#6 / VS2010 to allow a Unit Test mathode to be named like this MethodUnderTest_Scenario_ExpectedResult? I've tried various things but nothing worked.
Any ideas?
Help would be very much appreciated!
Peter
Please sign in to leave a comment.
Hello,
In order to allow underscores in method names please open ReSharper | Options
| Languages | Common | Naming Style, click Advanced settings and change the
value of 'Event subscription on fields' to '$object$_$event$'. Let me know
if this helps. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Thank you. It works.
Peter