如何在eclipse开普勒安装TestNG [英] How to install TestNG in eclipse Kepler

查看:231
本文介绍了如何在eclipse开普勒安装TestNG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在eclipse Kepler(4.3)中安装TestNG(我以前从未使用过)。我试图按照TestNG网站上提供的说明(然后尝试。



没有什么可以在eclipse之外安装。


I am trying to install TestNG (which I have never used before) in eclipse Kepler (4.3). I've tried to follow the directions provided on the TestNG site (http://testng.org/doc/download.html), but they do not work. The link (http://beust.com/eclipse/) just takes me to a page with a jar file. My experience is that when you use the installer within eclipse, it expects to be provided with a "p2" repository site. If I try to set up a site with the address provided, it fails.

On a related note, do I need to install TestNG as something additional (outside eclipse), or is the eclipse plug-in sufficient?

解决方案

It is working fine on my machine. I just installed TestNG on my eclipse by following the steps below:

  1. Click on Help > Install New software
  2. Add the link http://beust.com/eclipse in Work with text box as shown below.

  3. TestNG feature will be shown, expand the tree node then verify the version.

  4. Tick the check box of TestNG
  5. Click on Next button then Finish button.

I guess you enter wrong software update site. Remove the / and extra spaces around the link "http://beust.com/eclipse/" then try.

Nothing to install outside eclipse.

这篇关于如何在eclipse开普勒安装TestNG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆