Would be nice if a rename refactoring for Foo.m1() -> Foo.m2() also offered to
rename FooTest.testM1() -> FooTest.testM2() if it existed. Would mean a dep
junit -> refactoring, I guess.
*** This issue has been marked as a duplicate of 52960 ***
Bug 52960 was fixed but this is still valid.
*** Bug 225936 has been marked as a duplicate of this bug. ***
The test method name can also exactly match the renamed test (usually with the @Test annotation).
It is annoying to hunt for the test method each time I rename a method. Think, for example, when you rename a method in an interface! The impact could be in many tests! For the IDE help keeping test and base code in sync should be a must!
Author: Theofanis Oikonomou <firstname.lastname@example.org>
Date: 2013-02-15 15:37
Issue #62897 - Rename test after renaming method
Integrated into 'main-golden', will be available in build *201302162300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Theofanis Oikonomou <email@example.com>
Log: Issue #62897 - Rename test after renaming method