title: Console output when running Junit tests with ParallelComputer
body: <p>I want to run the Junit tests in parallel. I am running into the following problem</p>
  
  <p>These tests are developed by other teams and there are about 2500 test suites. The tests and the test framework have static variables all over the place. They have been written so that they work fine when they are run one suite at a time. They do not even complete running when I construct a suite of those tests suites and run them.</p>
  
  <p>In order to get around this problem, I have my own test runner that loads the test suite by a different class loader(a group of tests at a time). I do that in multiple threads and call the run method of JunitCore from each of these threads. This works fine. The problem with this approach is that the console output is mixed.</p>
  
  <p>I am looking for a solution to this problem so that I can separate the console output for the test suite and redirect them into a file.</p>
  
  <p>Here is one potential solution I am considering. I could load the classes with different classloader and pass the array of the "Class" objects of those classes into JunitCore <a href="http://junit.org/junit4/javadoc/4.12/org/junit/runner/JUnitCore.html#runClasses(org.junit.runner.Computer,%20java.lang.Class...)" rel="nofollow">runClasses</a> with an instance of <a href="http://junit.org/junit4/javadoc/4.12/org/junit/experimental/ParallelComputer.html" rel="nofollow">ParallelComputer</a>. </p>
  
  <p>Has anybody tried running test suites using ParallelComputer? How is the console output handled? </p>