Open 8byr0 opened 2 years ago
I'm looking into the same issue but had no success.
I'm wondering if it would be easier to have a setting that matches 2 groups instead of define multiple settings for parts of it. That would be way more flexible and easier to configure I guess.
Hello!
I am trying to setup this extension to work with pytest bdd. I already checked with no success:
For anyone wondering to do the same, here's what I got working so far:
Steps retrieval:
Match all tests located in
__tests__
folders.Parameters replacement
Still not working
I'm blocking on steps autocomplete. Currently I have this regex: (also tried without setting this param)
This does the job for simple definitions like:
But it does not work for steps like:
@jAdde proposed a solution here https://github.com/alexkrechik/VSCucumberAutoComplete/issues/373#issuecomment-801147736 but it's not very elegant and is definitely incompatible with any formatter.
Did anyone got to make this extension work with pytest-bdd without tricking?