可以在Netbeans 6.8中使用TestNG插件吗?(Is it possible to use the TestNG plugin with Netbeans 6.8?)

编程入门 行业动态 更新时间:2024-10-22 18:34:37
可以在Netbeans 6.8中使用TestNG插件吗?(Is it possible to use the TestNG plugin with Netbeans 6.8?)

我下载了TestNG NetBeans插件,并尝试将其安装在我的NetBeans 6.8中。 我正在运行NetBeans IDE 6.8(Build 200912041610)。

当我点击安装时,我收到以下消息:

某些插件需要安装插件外部执行支持。 在版本> = 1.19中请求插件外部执行支持,但仅找到1.18.1。 以下插件受到影响:TestNG支持

某些插件需要安装插件Common Test Runner API。 插件Common Test Runner API在版本> = 1.13中请求,但仅找到1.12.1。 以下插件受到影响:TestNG支持

某些插件需要安装插件Utilities API。 在版本> = 8.0中请求插件Utilities API但仅找到7.31.2.1。 以下插件受到影响:TestNG支持

有些插件需要安装插件org.openide.util.lookup。 版本8.0中请求插件org.openide.util.lookup。 以下插件受到影响:TestNG支持

未安装某些插件以避免潜在的安装问题。

可以在Netbeans 6.8中使用TestNG插件吗?

插件管理器似乎甚至不知道任何依赖插件。 TestNG插件是针对测试版还是实验版构建的? 我已将所有插件更新到最新版本。


更新

我继续从Netbeans 6.8分支构建模块。 它安装好了。 不幸的是,当我运行测试时,我可以看到ant输出,但TestNG视图显示“没有执行测试”。 我会继续摆弄它,看看我是否能让它发挥作用。

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.

最满意答案

我快速浏览了一下。 您可以从您引用的Wiki页面下载的nbm文件是针对NB源的主干编译的,而不是作为NetBeans 6.8发布的位编译的。

我已向开发人员发送了一条关于此事的说明。

您可以自己构建NBM,但这非常痛苦,因为您必须获取contrib存储库。

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.

更多推荐

本文发布于:2023-04-29 10:53:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1336313.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:插件   Netbeans   plugin   TestNG

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!