You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on what I've seen in the pytest docs the best solution, for the long term, is to not do yield tests at all nor build the tests, but instead use an entry point to have a plugin that collects the yaml files at test items. It's not clear how the fixtures would work in that set up.
gabbi generates tests for pytest with yields. with pytest 3.0 this is now deprecated and produces warnings:
the advice is to use
@pytest.mark.parametrize
instead.I investigated this a while ago and found it confusing when compared to the yield idea, but I guess now it is necessary.
The text was updated successfully, but these errors were encountered: