Pytest bdd, the features aren't recognized anymore

405 Views Asked by At

I have a strange case. I can't run my pytest anymore because he doesn't found the features (who are there btw).

Here is the error message and the proof that the files are there .

Thx enter image description here

2

There are 2 best solutions below

1
On

It would help to see the command you used to run pytest as well as the working directory

0
On

I run python -m pytest and the working directory is the one on the screen (i.e ../steps_def)