Hey Guys,
I have a step in scenario outline:
Given something
When thing <thing> is moved to position <position>
Then something else
Examples:
|thing|position|
|1 |1 |
In my glue code I write
@when(parsers.parse('thing {thing:d} is moved to position {position:d}'))
I when an error: pytest_bdd.exceptions.StepDefinitionNotFoundError: Step definition is not found: When
I tried When thing {thing} is moved to position {position}
When I use is passes it as a string. I though if I use parse I could make it an int. Is there some special way feature file has to be written?