pytest-bdd
pytest-bdd copied to clipboard
scenarios should give a user friendly message
trafficstars
Seems like the api is unexpected:
scenario(filename, name)
scenarios(folder)
So one would expect following to give a better error:
scenarios('foo.feature')
*** AttributeError: 'NoneType' object has no attribute '__file__'