English 中文(简体)
Is it possible to use the TestNG plugin with Netbeans 6.8?
原标题:

I downloaded the TestNG NetBeans Plugin and tried to install it in my NetBeans 6.8. I m running NetBeans IDE 6.8 (Build 200912041610).

When I click install, I get this message:

Some plugins require plugin External Execution Support to be installed. The plugin External Execution Support is requested in version >= 1.19 but only 1.18.1 was found. The following plugin is affected:       TestNG Support

Some plugins require plugin Common Test Runner API to be installed. The plugin Common Test Runner API is requested in version >= 1.13 but only 1.12.1 was found. The following plugin is affected:       TestNG Support

Some plugins require plugin Utilities API to be installed. The plugin Utilities API is requested in version >= 8.0 but only 7.31.2.1 was found. The following plugin is affected:       TestNG Support

Some plugins require plugin org.openide.util.lookup to be installed. The plugin org.openide.util.lookup is requested in version 8.0. The following plugin is affected:       TestNG Support

Some plugins not installed to avoid potential installation problems.

Is it possible to use the TestNG plugin with Netbeans 6.8?

The plugin manager doesn t even seem to know about any of the dependency plugins. Is the TestNG plugin build against a beta or experimental version? I have updated all of my plugins to the latest versions.


Update

I went ahead and built the module from the Netbeans 6.8 branch. It installs fine now. Unfortunately, when I run the tests, I can see the ant output, but the TestNG view says "No tests Executed." I ll keep fiddling with it to see if I can get it working.

最佳回答

I took a quick look at this. It appears that the nbm file that you can download from the wiki page that you referenced is compiled against the trunk of the NB sources, not the bits that are released as NetBeans 6.8.

I have sent a note to the developer about this.

You can build the NBM yourself, but it is pretty painful, since you have to get the contrib repository.

问题回答

This is embarrassing not able to use either the old version of TestNG or new version of TestNG in NetBeans. Any one kindly create a correct TestNG plugin for version 6.8.

Unfortunately, I don t think anyone has been working on the TestNG Netbeans plug-in in a while, so I m not surprised to hear you are running into difficulties. Try posting your question on their forums?

Otherwise, I continue to work actively on the Eclipse plug-in (new version released a few weeks ago) and TestNG is supported natively by IDEA...

Hope this helps.





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签