0
我有一个eclipse插件,其中包含使用SWTBot开发的JUnit测试。将插件重新部署到eclipse安装中
我试图在无尽模式下使用tycho-surefire-plugin在eclipse安装上运行测试。这里是我的行家conviguration:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIThread>false</useUIThread>
<testRuntime>p2Installed</testRuntime>
<work>${work.dir}</work>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<argLine>${ui.test.args}</argLine>
<appArgLine>${ui.test.vmargs}</appArgLine>
<application>com.myapplication</application>
</configuration>
</plugin>
我使用的运行测试:
mvn verify
一切都只是事实,如果我做我的插件的较新版本的一些代码的变化确定代码没有部署到eclipse安装中。 在运行mvn之前,请验证我正在运行mvn install命令。 如果我加入一个新的测试类,我得到
Caused by: org.apache.maven.surefire.util.NestedRuntimeException: Unable to create test class 'com.tests.MyNewClassTest'; nested exception is java.lang.ClassNotFoundException:
我有我失踪的任何配置。我怎样才能重新部署测试插件?
功能请求可以在这里提交:[Tycho问题跟踪器](https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Tycho) – oberlies 2014-09-25 07:32:22