title: Is there a workaround for using @RunWith in JUnit?
body: <p>I've one main test class (A) and another (B) that extends from it.</p>
  
  <p>A has a <code>@RunWith(SpringJUnit4ClassRunner.class)</code> annotation to initialize it.
  I need to use <code>@RunWith(JUnitParamsRunner.class)</code> annotation on B.</p>
  
  <p>But it seems like I won't be able to do both. Is there a way I can have parameterized test suites without the <code>@RunWith</code> annotation?</p>
  
  <p>The other solution is to use </p>
  
  <pre><code>testContextManager = new TestContextManager(AbstractInvoiceCreationModuleTest.class);
  testContextManager.prepareTestInstance(this);
  </code></pre>
  
  <p>But I can not write this within the <code>@BeforeClass</code> method as it is static and doesn't allow using of this. I do not wish to write the above piece of code within the <code>@Before</code> method as the class will get initialized before every test method. And a lot of test classes extend from A.</p>
  
  <p>What can be done?</p>