Is it possible to parameterize a TestSuite in junit 4 ?
For declaring a class as a test suite I need the annotation @RunWith(Suite.class), but the same
@RunWith(Suite.class)
Maybe this answer helps: Parameterized unit test suites
It uses @RunWith(Enclosed.class) and seems to solve the problem.
@RunWith(Enclosed.class)