I am writing a java program where I run junit tests. Currently, the program stops after the junit tests are executed. However, I don't want the program to exit. I can't edit the given junit tests, so I need a way for the program to not quit after they're run. This is the code I use to run a test.
org.junit.runner.JUnitCore.main("Test");
How can I run junit tests without exiting the program?