Eclipse测试ng中的问题



我尝试在Eclipse中使用下面的url来安装TestNG Plugin.

Select Help / Install new software. 
Search for new features to install. 
New remote site. 
For Eclipse 3.4 and above, enter http://beust.com/eclipse. 
For Eclipse 3.3 and below, enter http://beust.com/eclipse1. 

但不幸的是,两个连接都被拒绝了。

我已经从https://github.com/cbeust/testng-eclipse/下载了文件

当我提取zip时,它有以下内容:

Scripts, 
testng-eclipse-feature, 
testng-eclipse-plugin, 
testng-eclipse-Update-Site, 
.cvsignore, 
.gitignore,
.project,
.travel.yml,
changes.log,
new-release,
pom.xml,
README.md

我已经复制了features和plugin,并分别粘贴到eclipse feature和plugin文件夹中。现在如果我创建TestNG类,

我得到以下错误"选择的向导无法启动。插件org. testing .eclipse无法加载类org. testing .eclipse.wizards. newtestngclasswizard。org.testng.eclipse.wizards.NewTestNGClassWizard "

有谁能帮帮忙吗?

谢谢

您使用的是旧版本的Eclipse,请升级到Luna并尝试一下,它肯定会工作的。

1)先按照你的方法安装新软件。

进入Eclipse市场,输入TestNG并搜索,它会显示插件并安装它。

最新更新