Hi, I find myself providing examples with "autouse" fixtures and am now wondering if to introduce a @pytest.setup(...) decorator as a shortcut for @pytest.fixture(..., autouse=True). Many people are used to the concept of "setup" functions getting automatically called so i think naming-wise it should fit nicely. It's slightly redundant but then again a nice shortcut?!
best, holger _______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev