1 new commit in pytest: https://bitbucket.org/hpk42/pytest/commits/a594ba9a0faf/ Changeset: a594ba9a0faf User: hpk42 Date: 2013-08-01 10:43:02 Summary: no funcargs for setup functions, rather use autouse fixtures. Affected #: 1 file
diff -r dbd8f1c68619e305e9b1a64a31fa61081b0e2068 -r a594ba9a0faf78e105a5fdd0dea188ac20a7eeeb ISSUES.txt --- a/ISSUES.txt +++ b/ISSUES.txt @@ -200,28 +200,6 @@ having py.test.config and ensuretemp coming from a plugin rather than being there from the start. -consider allowing funcargs for setup methods --------------------------------------------------------------- -tags: experimental-wish - -Users have expressed the wish to have funcargs available to setup -functions. Experiment with allowing funcargs there - it might -also help to make the py.test.ensuretemp and config deprecation. -For filling funcargs for setup methods, we could call funcarg -factories with a request object that not have a cls/function -attributes. However, how to handle parametrized test functions -and funcargs? - -maybe introduce a setup method like: - - setup_invocation(self, request) - -which has full access to the test invocation through "request" -through which you can get funcargvalues, use cached_setup etc. -Therefore, the access to funcargs would be indirect but it -could be consistently implemented. setup_invocation() would -be a "glue" function for bringing together the xUnit and funcargs -world. consider pytest_addsyspath hook ----------------------------------------- Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org http://mail.python.org/mailman/listinfo/pytest-commit