ParameterizedTest with a name in Eclipse Testrunner
问题 When you run a JUnit 4 ParameterizedTest with the Eclipse TestRunner, the graphical representation is rather dumb: for each test you have a node called [0] , [1] , etc. Is it possible give the tests [0] , [1] , etc. explicit names? Implementing a toString method for the tests does not seem to help. (This is a follow-up question to JUnit test with dynamic number of tests.) 回答1: I think there's nothing built in in jUnit 4 to do this. I've implemented a solution. I've built my own Parameterized