1

I am using the @Parameterized annotation to run a test class over and over again against different test files.

The problem is that in my IDE/build server the tests show up as "MapSimulationTest" 0-x.

How can I have a method that provides JUnit 4 with a custom name for each instance of my MapSimulationTest class? In this case it would be the filename the test is being run against.

prem30488
  • 2,828
  • 2
  • 25
  • 57
benstpierre
  • 32,833
  • 51
  • 177
  • 288
  • Would http://stackoverflow.com/questions/650894/change-test-name-of-parameterized-tests help? – VonC Apr 16 '10 at 06:28
  • see http://stackoverflow.com/questions/650894/change-test-name-of-parameterized-tests –  Aug 24 '10 at 16:50

0 Answers0