方式有两种

1.在线安装

(1)启动Eclipse,点击Help>Install New Software...

Eclipse安装TestNG

(2)点击“Add..”按钮,在“Add Repository”窗体Name输入框输入TestNG,“Location”输入框输入http://beust.com/eclipse,然后点击“OK”按钮

Eclipse安装TestNG

(3)加载出下图后选中勾选,点击Next,直至完成。

Eclipse安装TestNG


2.本地安装

(1)访问https://github.com/cbeust/testng-eclipse,下载最新插件到本地

(2)解压缩到如C:\site_assembly下;

Eclipse安装TestNG

(3)启动Eclipse,点击Help>Install New Software...

(4)点击“Add..”按钮,在“Add Repository”窗体Name输入框输入TestNG,点击“Local...”按钮,选择目录C:\site_assembly,然后点击“OK”按钮

Eclipse安装TestNG

(5)加载出下图后选中勾选,点击Next,直至完成。


相关文章:

  • 2021-11-30
  • 2021-07-27
  • 2021-08-26
  • 2021-06-01
  • 2022-01-14
  • 2021-11-22
  • 2021-06-18
  • 2022-01-25
猜你喜欢
  • 2021-10-05
  • 2021-10-27
  • 2022-12-23
  • 2021-05-04
  • 2021-07-12
  • 2022-01-03
  • 2021-04-04
相关资源
相似解决方案