TestNG Eclipse Plugin Installation - Offline
2015-12-03 19:11
543 查看
最近在安装TestNG插件时,中途下载过程中总是出现错误,连接不上Repository, 估计是网络问题。网上查了一下,有个Offline 安装方法,可以解决在线安装出错的问题,转之。
原文地址是:http://blog.sodhanalibrary.com/2015/07/testng-eclipse-plugin-installation.html . 国内网络可能无法访问,推酷上也有转载,可以搜看。
----------------------------------------------------------------------------------------
TestNG is good framework inspired by JUnit, It is having advanced features than JUnit. I tried to install TestNG eclipse plugin to my Eclipse version of Juno. But I got some hell errors. Finally I was failed to install that in
online. Then I tried to install that in offline. Initially I did some research on how to install TestNG plugin in offline and I found different jars for different versions of eclipse and some online forum users stated that they still getting some configuration
issues. Then I decided to build suitable version of TestNG plugin with my own Eclipse. Follow the below procedure for successful installation
Click on "File > Import".
Now select "General > Existing Projects into Workspace".
Now click on "Next".
Now click on "Browse"
Now select the folder "testing-eclipse-plugin"
Now click on "OK" and then "Finish".
Project will be created.
Now right click on the project and click on "Export..."
Now select "Plug-in Development > Deployable plug-ins and fragments".
Click on "Next".
Now click on " Browse " and select the target folder.
Click on " Finish ".
Jar will be generated as like shown in the below image.
This is the plugin jar which we required:
Now copy this jar and paste in " dropins " folder of eclipse.
Now restart the eclipse, Now you can see all TestNG options in active mode.
原文: http://blog.sodhanalibrary.com/2015/07/testng-eclipse-plugin-installation.html
原文地址是:http://blog.sodhanalibrary.com/2015/07/testng-eclipse-plugin-installation.html . 国内网络可能无法访问,推酷上也有转载,可以搜看。
----------------------------------------------------------------------------------------
TestNG is good framework inspired by JUnit, It is having advanced features than JUnit. I tried to install TestNG eclipse plugin to my Eclipse version of Juno. But I got some hell errors. Finally I was failed to install that in
online. Then I tried to install that in offline. Initially I did some research on how to install TestNG plugin in offline and I found different jars for different versions of eclipse and some online forum users stated that they still getting some configuration
issues. Then I decided to build suitable version of TestNG plugin with my own Eclipse. Follow the below procedure for successful installation
Download TestNG Eclipse Plugin Project
Download TestNG from the Github ( https://github.com/cbeust/testng-eclipse ). Once you download the ZIP file, extract it. Now you can seetesting-eclipse-plugin folder in it. This is the Eclipse plugin project that we have to build.Import Eclipse Plugin Project
Open your Eclipse.Click on "File > Import".
Now select "General > Existing Projects into Workspace".
Now click on "Next".
Now click on "Browse"
Now select the folder "testing-eclipse-plugin"
Now click on "OK" and then "Finish".
Project will be created.
Now right click on the project and click on "Export..."
Now select "Plug-in Development > Deployable plug-ins and fragments".
Click on "Next".
Now click on " Browse " and select the target folder.
Click on " Finish ".
Jar will be generated as like shown in the below image.
This is the plugin jar which we required:
Now copy this jar and paste in " dropins " folder of eclipse.
Now restart the eclipse, Now you can see all TestNG options in active mode.
原文: http://blog.sodhanalibrary.com/2015/07/testng-eclipse-plugin-installation.html
相关文章推荐
- MyEclipse Web Project转Eclipse Dynamic Web Project
- Windows Clang开发环境备忘
- 傻瓜式用Eclipse连接MySQL数据库
- Eclipse引入jquery报错如何解决
- 让Flex Builder 3.0与Eclipse3.4整合起来
- Eclipse配置Javascript开发环境图文教程
- 使用zend studio for eclipse不能激活代码提示功能的解决办法
- 图解Eclipse j2ee开发环境的搭建过程
- 两种Eclipse部署动态web项目方法
- ext for eclipse插件安装方法
- 解决Fedora14下eclipse进行android开发,ibus提示没有输入窗口的方法详解
- eclipse导入jquery包后报错的解决方法
- Eclipse 格式化代码时不换行与自动换行的实现方法
- Eclipse下jQuery文件报错出现错误提示红叉
- eclipse如何忽略js文件报错(附图)
- eclipse3.2.2 + MyEclipse5.5 + Tomcat5.5.27 配置数据库连接池
- jquery库或JS文件在eclipse下报错问题解决方法
- 什么是eclipse,eclipse的意思解析
- Zend Studio for Eclipse的java.lang.NullPointerException错误的解决方法
- eclipse+myeclipse 环境配置方法