pytest-bdd icon indicating copy to clipboard operation
pytest-bdd copied to clipboard

scenarios should give a user friendly message

Open domenkozar opened this issue 7 years ago • 1 comments
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__'

domenkozar avatar Jun 22 '18 16:06 domenkozar