Where should I store config information and setUp variables for the test?
Is this considered good practice?:
public class BaseTest {
stateVar1;
stateVar2;
...
stateVarN;
void setUp1() {do something with stateVars}
}
public class Test extends BaseTest {
@Test
void test1() {
setUp1();
// test logic
}
@Test
void test2() {
setUp1();
// test logic
}
}