Solved
Forum Discussion
julien-le-foll
6 years agoNew Contributor
Hello,
Finally your R&D show me a better solution:
- In CucumberStudio set 0 as default value for numeric parameter (add = 0)
- and the following step implementation can be used:
@Given("a price of "(.*)"$")
public void a_price_of(double price) {
//....
}
The deal is that numeric types can't be used in annotations but it is acceptable
TanyaYatskovska
Alumni
6 years agoIt's great to hear that the solution was found!