java - Can eclipse automatically rename the unit test class when the class under test is renamed? -


i use refactor -> rename functionality in eclipse , have habit of naming associated unit test testedclassnametest. when rename tested class must not forget rename unittest. extremely useful rename unit test automatically when tested class renamed.

i guess wouldn't difficult create plugin job maybe isn't necessary?

after several googling , eclipse searches, seems such feature not yet available.

today there no notion of "class being unit tested" in eclipse. mean here, can create unit test classes testing want: full package, single class, single method, full plugin ....

to more accurate, there "no relation in eclipse's model" between tested class , associated unit test.

i totally agree nice such feature in eclipse. go further cool able generate unit tests skeletons , have these tests classes linked tested ones.

may can laucnh discussion on eclipse buzilla, maybe in pde category.

manu


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -