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 203453

Summary: Unable to test module
Product: java Reporter: javydreamercsw <javydreamercsw>
Component: JUnitAssignee: Yulia Novozhilova <ynov>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jglick
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Sample project up to step 5

Description javydreamercsw 2011-10-10 16:32:17 UTC
Product Version = NetBeans IDE Dev (Build 201110070600)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

Steps to reproduce:
1) Start with an IDE without JUnit installed.
2) Create a stand alone module.
3) Create a dummy class with some methods in it.
4) Create a Unit test out of it (using the wizard)
5) Install JUnit
6) Add the Unit test Libraries
7) Notice the Test option from the project context menu is disabled (using the shortcut doesn't work as well)
Comment 1 javydreamercsw 2011-10-10 16:33:39 UTC
Created attachment 111802 [details]
Sample project up to step 5
Comment 2 javydreamercsw 2011-10-10 17:12:26 UTC
Trying to run the test from ant I saw this warning I found out relevant:

warning: [path] bad path element "Z:\Netbeans\Simple Marauroa\Simple Marauroa Client\Card Game Extension\${test.unit.lib.cp}": no such file or directory

Besides that the tests run fine from ant.
Comment 3 Jesse Glick 2011-10-11 16:04:33 UTC

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