Possible Duplicate:
Call JUnit from other Eclipse Plugin
In my Eclipse custom plugin, I can do the unit test with junit. I want to show the results on Junit plugin’s view. How to call code in Junit plugin in my custom plugin? Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Either create a TestSuite and fake out the tests to generate your desired output or try to reuse the console part of the junit plugin.
otherwise your only other choice is to patch the junit plugin which is not recommended because you can screw up the plugin and it is difficult to garauntee will run the same on all versions of eclipse.