This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
A colleague of mine has just started writing unit tests in Java with NetBeans. He knew about pressing Ctrl-U to generate unit tests for a class, but asked how he could update the unit tests to account for new methods he had added to the class under test. I told him that I did not think the IDE supported it, so I always did this manually. I was going to file an RFE for this, but decided to see what happens when you add a new method to a class which already has a unit test class and press Ctrl-U. To my surprise, this action updated the existing test class and added prototype for the new method! Given that I have used the IDE for five years, write lots of tests and didn't know about this feature, I suspect few others do either. I therefore request that you make this behavior more obvious; this could be as simple as changing the item on the tools menu from 'Create JUnit Test' to 'Create/Update JUnit Test'.
Also see 165343.
Updating the menu's description seems the right thing to do.
*** Bug 191746 has been marked as a duplicate of this bug. ***
Fixed: http://hg.netbeans.org/core-main/rev/df2c841ad154