TestStack / TestStack.BDDfy

BDDfy is the simplest BDD framework EVER!
MIT License
419 stars 84 forks source link

configure title function with configurator #278

Closed paulschup closed 5 years ago

paulschup commented 5 years ago

I added SetDefaultStepTitleCreatorFunction and SetCustomStepTitleCreatorFunction

the default is always used the SetCustomStepTitleCreatorFunction can be set during tests. it is configurable by configurator.scanner I didn't used the _addedStepScanners factory since it is not possible to do all the step titles at once. The title will change during the execution of the steps. Doinig it like this seems more appropriate