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 - Unable to test module
Summary: Unable to test module
Status: RESOLVED DUPLICATE of bug 201457
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-10 16:32 UTC by javydreamercsw
Modified: 2011-10-11 16:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project up to step 5 (4.60 KB, application/x-java-archive)
2011-10-10 16:33 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***