Steps with same type and pattern but different parameter names should be considered as duplicates

Description

First step
@When("I do something with a param '$parameter'")
public void func1(String str){}
Second step
@When("I do something with a param '$value'")
public void func2(String str){}

Current duplicate step identification mechanism relies on step type (WHEN and THEN here) and step pattern (I do something with a param '$parameter' and I do something with a param '$value') which is apparently not reliable way to do identification

Activity

Show:

Mauro Talevi April 5, 2020 at 10:15 AM

Pulled with thanks!

Uladzislau Arlouski April 1, 2020 at 3:12 PM

Hi ,

Please review

Thanks

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created April 1, 2020 at 9:14 AM
Updated April 5, 2020 at 1:22 PM
Resolved April 5, 2020 at 10:15 AM