create a public abstract class TestSetUps and include your annotations
@Rule
@Before
@After
When you create a new test class extend it to the TestSetUps Class
You can over ride either using the @Override annotation
@Override
@After
public void tearDown() throws Exception {
}