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.
Change the default value of option "Include Package Private Classes" to <true>.
This bug originally identified by a reporter of bug #51972 ("No reasonable message when test generation is skipped").
Workaround: When NetBeans is started, change the option so that package-private classes are not skipped: 1) Open the Options window (select Tools|Options from the main menu). 2) Select node Testing|JUnit Module Settings 3) Select checkbox labeled "Include Package Private Classes". 4) Close the Options window.
The issue is still valid inside nb6.0dev 200603141900 build. Changing TM to TBD.
Can this be fixed? It shouldn't be difficult.
Created attachment 30992 [details] patch
I've added a patch for /junit/src/org/netbeans/modules/junit/JUnitSettings.java
It looks fixed in NetBeans 6.0 IDE Dev (Build 200703201900)
It works correctly in NetBeans IDE Dev (Build 200804300003)
Works for me in NB 6.1. ;-)
The change was done by a mistake during transition of the settings code to the new Preferences API - see issue #87988. So it is fixed since NetBeans 6.0.