title: SpringJUnit4ClassRunner: run test method multiple times with different input data
body: <p>I'm developing tests for Spring application. I have several tests that i want to run multiple times for different data.</p>
  
  <p>I can't use JUnit's @Parameters because test class must be run with Parameterized.class to make this work, while i have to run test classes with SpringJUnit4ClassRunner.class that sets up mock Spring context.
  Unfortunately, it seems that <a href="http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.html" rel="nofollow">this runner doesn't support processing of the @Parameters annotation</a>. I also took a look at TestContextBootstrapper and TextExecutionListener, but it seems that it can't help me either.</p>
  
  <p>Is there a way to run test of the Spring application multiple times for different input data?</p>
  
  <p>I need something similar to TestNG's <code>@Test(dataProvider=) @DataProvider</code> couple or <code>@Factory(dataProvider = ) @DataProvider</code> couple.</p>
  
  <p>Thanks in advance.</p>