Print Test Result in JUnit
问题 Currently I am making the test case repeat 2 times, so how do I print the results as 2 separate results. I tried using the built-in function to create the text, however, it does now show either "Success" or "Failure". Currently I have this code: public class UnitTestRunner { static JUnitCore junitCore; static Class<?> testClasses; public static void main(String[] args) { System.out.println("Running Junit Test Suite."); Result result = JUnitCore.runClasses(TestSuite.class); for (Failure