5 ms·
Refactoring breaks a lot of test cases (mostly with renaming variables). Please tell me about this. My experience is that refactoring tools can often apply th
by stcredzero 16y ago
Refactoring breaks a lot of test cases (mostly with renaming variables).
Please tell me about this. My experience is that refactoring tools can often apply the same refactoring to the tests as to the code. For OO projects, the only variables visible to a test should be temporary variables to hold test objects. Renaming those shouldn't be a hard refactoring.