Hi Floris, Ronny, Carl, all,

i've managed to do a first round of implementation of the recently
discussed resources API.  For an example on what is now possible see:

    http://pytest.org/dev/example/newexamples.html

As far as i see the new features did not break backward-compatibility
with existing plugin or test code.

I've also written a V3-work-in-progress of the resources document 
and marked the status of features in each section:

    http://pytest.org/dev/resources.html

If you'd like to try things out you can either grab it via::

    pip install -i http://pypi.testrun.org -U pytest

which should give a "py.test --version" >= 2.3.0.dev3
or you can go to the bitbucket repository.

For the next step, i am considering if to try to extend setup_X methods
of if to introduce a new @pytest.mark.setup marker, see the resources.html
doc.  I lean towards the letter and believe that its introduction would
make a lot of pytest_runtest_setup() and pytest_configure() unneccessary.

grateful for any feedback or comments,
holger

_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to