eclipse 如何离线安装TestNG eclipse插件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5155786/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to install TestNG eclipse plugin offline?
提问by Cristiano Fontes
Anyone can help ?
任何人都可以帮忙吗?
I am having trouble, already unzipped the file I downloaded from the site in the dropins folder, but nothing happens !
我遇到了问题,已经解压缩了我从站点下载的文件 dropins 文件夹,但没有任何反应!
I CANNOT use internet to install this, because of some very stupid proxy rules.
由于一些非常愚蠢的代理规则,我无法使用互联网来安装它。
采纳答案by VonC
If you can download the testng plugins, create in your dropins directory a structure similar to this one
如果您可以下载 testng 插件,请在您的 dropins 目录中创建一个类似于此的结构
/path/to/mydropins
testng-eclipse-x.y/
eclipse/
features
org.testng.eclipse_x.y.z.jar
plugins/
org.testng.eclipse_x.y.z.jar
With 'path/to/mydropins
' a shared dropins repositoryreferenced in your eclipse.ini
with a:
使用“ path/to/mydropins
”在您的引用中使用共享 dropins 存储库eclipse.ini
:
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/<myPath>/mySharedDropins
You need to copy both:
您需要复制两者:
回答by Liya
Please try below options....
Option 1 : Follow steps in https://www.dev2qa.com/testng-eclipse-plugin/
Option 2 : If using Option 1, TestNG is not reflecting properly in eclipse option 3 from below URL
https://www.techbeamers.com/install-testng-in-eclipse-ide/
The URL for downloading the Zip file is for version 6.11. If you need a higher version try
http://dl.bintray.com/testng-team/testng-eclipse-release/zipped/I had Version: Mars.2 Release (4.5.2) and TestNG 6.14.0 version worked for me.
请尝试以下选项....
选项 1:按照https://www.dev2qa.com/testng-eclipse-plugin/ 中的步骤操作
选项 2:如果使用选项 1,TestNG 在 eclipse 选项 3 中无法正确反映来自以下 URL
https://www.techbeamers.com/install-testng-in-eclipse-ide/
下载 Zip 文件的 URL 适用于 6.11 版。如果您需要更高版本,请尝试
http://dl.bintray.com/testng-team/testng-eclipse-release/zipped/我有版本:Mars.2 Release (4.5.2) 和 TestNG 6.14.0 版本适用我。