开发者

Rename Unit Test when renaming class Visual Studio

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 th开发者_Go百科ere 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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜