SpecFlow.VisualStudio
SpecFlow.VisualStudio copied to clipboard
Generation: better parameter names than p0, p1 etc
Issue Description
Feature request:
I'm not keen on the parameter names p0, p1 etc fallback.
As we now the type, would be be cool to prefix it with the names? Also I think a 1 based number is more natural.
Text:
I have 2 numbers 3 and 4 and this is my 'cool' text.
Current result: int p0, Decimal p1, int p2, string p3
Proposal: int number1, Decimal number2, int number3, int text1
Or : int number, Decimal number2, int number3, int text
PS: I see this is handled in StepParameterNameGenerator.GenerateParameterName