I am writing an integration test that is a parameterized test, and I need to include @RunWith(SpringJUnit4ClassRunner.class) and @RunWith(JUnitParamsRunner.class). The problem is that I can only specify one @RunWith. Is there a workaround to this problem?
Asked
Active
Viewed 156 times
0
-
1You're looking for junit `@Rule`s. See this for more details https://stackoverflow.com/questions/13489388/how-junit-rule-works – nikhil May 14 '15 at 21:14
-
Decide: is it a Spring test or a Params test that you want to create? – Makoto May 14 '15 at 21:14