Supporting JUnit4

Because JUnit 4 gets more and more used a new class runner is introduced.
You can now leverage datadriven testing of DDTUnit and the execution model of JUnit 4 annotations in one class. To do this follow the example ( DDTJUnit4ClassRunnerTest:

@RunWith(value = DDTUnit4ClassRunner.class)
public class DDTJUnit4ClassRunnerTest extends DDTTestCase {
  // now you can use JUnit4 standard annotations 
  public static void beforeClass() {"beforeClass");     
  // and @Before, @After, @AfterClass and even @Test
The implementation was provided by Jürgen Süßer - Thanks for that!
sf logo