Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. import org.junit.runner.JUnitCore;
  2. import org.junit.runner.Result;
  3. import org.junit.runner.notification.Failure;
  4.  
  5. public class TestSuiteRunner {
  6.   public static void main(String[] args) {
  7.     Result result = JUnitCore.runClasses(TestSuite.class);
  8.     for (Failure failure : result.getFailures()) {
  9.       System.out.println(failure.toString());
  10.     }
  11.   }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement