views:

40

answers:

1

On a related note to this question, which just came up:

I commonly follow the naming convention LibraryClass <-> LibraryClassTests for my unit tests. However, when renaming LibraryClass using the default rename/refactor functionality in either Visual Studio, R# or CodeRush (I have tested both) the test file is not renamed, meaning I might have class called LibraryClassTeststhat tests the class ClassWithNewName.

Is there a way to configure Visual Studio and/or an extension to the same so that whenever I change the name of a file, the corresponding unit test is also changed?

A: 

Hey Thomas,

Great suggestion. The CodeRush team is on it. :-)

Mark Miller