No runnable methods while running Test case run as Junit Plugin test

旧时模样 提交于 2019-12-02 01:28:06

Here is the solution to my question. I delete the project from workspace. Created newly checkout the code from repository. junit-4.3.1.jar added in the class-path. Opened the plugin.xml in dependency tab. under required plugins click on add button type in the search org.junit. add the latest one in my eclipse (Indigo) org.junit(4.8.2.v4_8_2_v20110321-1705) and it display as org.junit(4.8.2).

Modification in files: .classpath - added "junit-4.3.1.jar" entry MANIFEST.MF - Require-Bundle: ,org.junit;bundle-version="4.8.2" got added due to change in plugin.xml.

Thanks, Anand

Is this code itself also contained either in a test plugin or a plugin fragment (extending the plugin to be tested)? You cannot just have a Java class in a normal Java project for a plugin test.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!