title: TestSuite Setup in jUnit 4
body: <p>I've managed to find out how to make a TestSuite in jUnit 4, but I really miss the v3 possibility of wrapping a suite in a TestSetup.</p>
  
  <p>Any ideas as to how to get some @BeforeClass/@AfterClass setup executed for a suite of test cases in jUnit 4?</p>
  
  <p>I.e.</p>
  
  <pre><code>@RunWith(Suite.class)
  @Suite.SuiteClasses({Test1.class, Test2.class})
  public class MyTestSuite {
      @BeforeClass public static void setUpClass() {
          // Common initialization done once for Test1 + Test2
      }
      @AfterClass public static void tearDownClass() {
          // Common cleanup for all tests
      }
  }
  </code></pre>
  
  <p>Unfortunately the above code fragment doesn't work. <code>@BeforeClass</code> only works on a per-test-class basis.</p>