Closed
Description
The example on the README
has a provider state of 'an alligator exists', which can be defined in the provider configuration with:
provider_state 'an alligator exists' do
...
end
Is there any way to use some form of pattern matching with provider_state
so that a single block could be used for both 'an alligator called Tom exists' and 'an alligator called Jerry exists'?
I'm thinking of something similar to https://github.com/cucumber/cucumber/tree/master/cucumber-expressions