Run a JUnit test from another plugin


I started to work on a small Intellij plugin to get in touch with the openapi.

My plugin is gathering a list of failed test from an external source. Now I would like to run these tests in Intellij in the same way as I would start them normaly from intellij. So they should run as a junit run configuration and show the status and result of the running tests in the normal windows.

I searched for a long time in the formus but didn't find anything helpful.

Can please someone help me?

Thanks a lot!


Please sign in to leave a comment.