In the relevant note, this question has just appeared:
I usually stick to the naming conventions LibraryClass↔ LibraryClassTestsfor my unit tests. However, when renaming LibraryClassusing the default rename / refactor function in Visual Studio, R # or CodeRush (I tested both), the test file was not renamed, that is, I could have a class with a name LibraryClassTeststhat checks the class ClassWithNewName.
Is there a way to configure Visual Studio and / or the extension to do the same so that when the file name changes, the corresponding unit test also changes?
source
share