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

2 comments

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!"

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

---
Original message URL:
http://devnet.jetbrains.net/message/5312487#5312487



0

Please sign in to leave a comment.