ttt307307 / junitparams

Automatically exported from code.google.com/p/junitparams
0 stars 0 forks source link

Parameters as name #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The rule TestName does not include the parameters, so I can't tell the 
difference between two tests.

@Rule
public TestName testName = new TestName();

Can you add the parameters to the name?

Cheers

Martin

Original issue reported on code.google.com by mdg.cov...@gmail.com on 7 Jun 2013 at 9:25

GoogleCodeExporter commented 8 years ago

Original comment by lipinski...@gmail.com on 7 Jun 2013 at 4:05

GoogleCodeExporter commented 8 years ago
Hi,
just checked it, but cannot do it. TestName returns 
description.getMethodName(), which is the same method that is being used for 
IDE printout of the method name. So for now cannot be done.

Cheers,
Pawel

Original comment by lipinski...@gmail.com on 7 Jun 2013 at 4:27