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 90492 - Creating a JUnit test is broken
Summary: Creating a JUnit test is broken
Status: RESOLVED DUPLICATE of bug 89820
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: Other Windows XP
: P3 blocker (vote)
Assignee: junit-issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-03 15:50 UTC by tkellerer
Modified: 2006-12-03 18:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tkellerer 2006-12-03 15:50:42 UTC
With the 6.0 dev builds, "Tools -> Create Unit test" is gone, so I used "New
File/Folder" to create a JUnit Test.

Right click on the package (in the test sources) where I want to create a new
JUnit test
Select New -> File/Folder -> JUnit -> Test for Existing Class
Click Next
Click on Browse and the select the class that I want to test.
Click on Finish and I get the error message:

"No tests were created because no testable class was found".

NB 6.0 dev (2006-11-30)
JDK 1.6rc
Windows XP
Comment 1 Marian Petras 2006-12-03 18:56:01 UTC
Functionality of generating test skeletons has been removed before merge of the
new Java API to the main source code base.

*** This issue has been marked as a duplicate of 89820 ***