title: Running 2 suites of junit tests with different @before setup
body: <p>I have a bunch of test classes that require the same database setup. Originally, I use @BeforeClass annotation in each of theses test classes to run this setup. To run all these tests, I use a test suite class, i.e. one with the @RunWith(Suite.class) annotation.</p>
  
  <p>Next, I want to run these same tests in another enviornment as well, which requires a different database setup. Ideally, if the test suite recognizes @before annotation, I can move the setup out of the test classes and into the test suite. But that's not the case. So now I am thinking about calling each setup and then each test class using the JUnitCore api. I am wondering is there a better way to do it? </p>