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 198564 - TestNG Plug-in for 7.0 does not appear in option list in IDE
Summary: TestNG Plug-in for 7.0 does not appear in option list in IDE
Status: RESOLVED DUPLICATE of bug 208841
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Lukas Jungmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 17:46 UTC by lvskiprof
Modified: 2012-04-19 15:33 UTC (History)
3 users (show)

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 lvskiprof 2011-05-12 17:46:47 UTC
It took a Google search just to find it on the Netbeans site, which means almost nobody knows it exists.

Once I had it downloaded I was able to install it, however TestNG does not appear as an option when creating a new file for a project.  At one point I did get what seemed to be a template for TestNG, but it was in the raw form.  Not sure just how I did that.

I am trying to adapt an Eclipse project that used TestNG to Netbeans and there appears to be differences in how you code them.  In Eclipse you define the TestNG files as part of the same package, but in Netbeans it complains unless I remove the package definition for the TestNG modules.

Documentation on how to install, format, and use TestNG is needed - especially for people new to using the test frameworks like I am, but also to show how to use it properly in the Netbeans IDE.  Right now it runs (according to the output), but it says there were no tests to run.  I am not sure how to define what tests to run when in the IDE and can't find any documentation.  The only thing on the TestNG web site is about a plug-in for Netbeans 5.0!!!
Comment 1 lvskiprof 2011-05-12 17:51:34 UTC
I have found this web page talking about TestNG:
http://wiki.netbeans.org/TestNG

It seems to indicate there should be a TestNG menu selection, but in 7.0 there is no such menu item.
Comment 2 lvskiprof 2011-06-20 18:06:33 UTC
I believe that I found out how you activate it to get them menu items to appear.  I had to select the Show Details checkbox in the Installed tab for Tools->Plugins in order to get the TestNG plugins to even show up.  Once I did that I saw they were deactivated and was able to select them and activate them properly.  Now I am seeing the menu items shown in the Wiki.

This really needs to be fixed so that you don't need to choose a non-standard setting to be able to activate these.
Comment 3 Lukas Jungmann 2012-04-18 23:30:55 UTC
is part of 7.2
Comment 4 Jesse Glick 2012-04-19 15:33:39 UTC

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