Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

RedDeer JUnit Suite

rawagner edited this page Jul 28, 2017 · 1 revision

RedDeerSuite takes care of proper test initialization and configuration. Every RedDeer test class should be run with RedDeerSuite.

@RunWith(RedDeerSuite.class)
public class Tests {

    @Test
    public void testCaseOne(){
        // test something
    }

    @Test
    public void testCaseTwo(){
        // test something
    }
}

You can also annotate your test suite

@RunWith(RedDeerSuite.class)
@SuiteClasses({
    Test1.class,
    Test2.class
})
public class TestsSuite {

}
Clone this wiki locally