I'm just writing som Selenium WebDriver tests with JUnit 4.
Test Cases are grouped by JUnit TestSuite. Each test case (test class) has the same @Rule @BeforeTest @AfterTest
How can i realize this in JUnit TestSuite, so that I don't have the same code for @Rule, @BeforeTest and @AfterTest in each test case (class)?
//edit: maybe i define an abstract testcase class, which i extend from each test case?