By default Eclipse only can generate JUnit test class for an existing Java class. If you'll change original class by adding new method you'll need to manually add appropriate test method to the JUnit test.
Using free FastCode Eclipse plug-in you will be able to do that by the single shortcut "Ctrl + Alt + Shift + U"
No comments:
Post a Comment