KentBeck/junit — pull request #393 by stefanbirkner (2012-03-02 22:20:17+00:00)
Title: Add names for parameterized tests. Fixes #24 and #44.

In order that you can easily identify individual test, you may provide a name for the Parameters annotation.
@Parameters(name="my test")
This name is allowed to contain placeholders, which are replaced at runtime. The placeholders are
* {index} - the current parameter index
* {0} - the first parameter
* {1} - the second parameter
* ... - the other parameters
If you don't use the name parameter, then the current parameter index is used as name.

Example:
When you use @Parameters(name="fib({0})={1}") with the Fibonacci example, then you get test names like "fib(3)=2".

This feature is based on the work of Dimitar Dimitrov (pull request#145). Thank you.