Suite Runner in junit

import org.junit.runners.Suite;

@RunWith(Suite.class)
@Suite.SuiteClasses({
ExampleOfJunit3TestSuite.class,
ExampleOfJUnit3TestCase.class,
ExampleOfJUnit4TestSuite.class,
ExampleOfJUnit4TestCase.class})

public class BothJUnit4and3TestSuite {
}

Advertisements