title: How to dynamically add a test to test suite in JUnit 4?
body: <p>I recently read (<a href="https://stackoverflow.com/questions/2635839/junit-confusion-use-extend-testcase-or-test/2635862#2635862">link text</a>) about a way to statically add tests to test suite in JUnit 4? What about a dynamic way, i.e. how to add a test class if its name is known not earlier than at run-time, e.g. its name is read from XML file?</p>