Open pfctdayelise opened 5 years ago
It is documented here https://pytest-bdd.readthedocs.io/en/latest/#advanced-code-generation. And yes, it should only generate code for missing steps.
Oh, so it is, my bad. TBH I am not sure why this is not the default behaviour - I'm struggling to think of when it would be useful to regenerate existing steps. And if you have not implemented anything the behaviour is the same :)
Coming back to this...the documentation is confusing. In the example two arguments features
and tests/functional
are given - what do these represent?
Hi, I finally had a good reason to use pytest-bdd in detail and it's a great experience, so thank you 😊
I saw some comments about generate-missing in the issues and I see something like this in the code, although it doesn't seem to be documented. Is it different to
pytest-bdd generate foo.feature
? For example does it only do the generate for steps/scenarios that are not yet implemented?? That would be nice :)