Solved
Forum Discussion
julien-le-foll
New 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
4 years agoSmartBear Alumni (Retired)
It's great to hear that the solution was found!
Related Content
- 6 months agomacheshmeh
Recent Discussions
- 26 days agoMikh
- 2 months agoranamanvendra
- 2 months agomeryem6