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.

Bug 213937

Summary: [72cat] Creation of tests in NetBeans Module does not include the JUnit library
Product: java Reporter: crazyjavahacking
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 7.2   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description crazyjavahacking 2012-06-11 07:47:50 UTC
When I create a sample NetBeans Platform Application and a sample module for it and then create a JUnit tests, JUnit library will not be automatically added to classpath.

The Test Creation process should handle such situation (add the Junit library), right?


NetBeans Dev 201206100001, Java 6u32 32bit
Comment 1 Theofanis Oikonomou 2012-06-11 10:48:22 UTC
I can reproduce in NetBeans IDE Dev (Build
20120611-8da0aa8bc2a9). The test creation process should add junit to the test dependencies. Seems like some problem with the library not being present. I am getting similar dialogs as bug 199953, so maybe dub of bug 198739? If not please reopen.

*** This bug has been marked as a duplicate of bug 198739 ***