On 07/20/2012 05:25 PM, holger krekel wrote:
>> 1. How do I handle teardown for these setup functions? I would expect
>> they'd take a request and I'd do request.addfinalizer(...), but in some
>> of your examples they don't seem to take request, and in the one where
>> it does, it says "In addition
Hi Carl,
On Fri, Jul 20, 2012 at 12:08 -0600, Carl Meyer wrote:
> Hi Holger,
>
> I love the pytest.mark.funcarg decorator.
Good to hear! I also like it :) And i think it makes sense to just
extend the funcargs system rather than to invent a parallel "resources" one.
> I think pytest.mark.setup
Hi Holger,
I love the pytest.mark.funcarg decorator.
I think pytest.mark.setup is likely a good idea, too, but there are some
questions I'm not clear on:
1. How do I handle teardown for these setup functions? I would expect
they'd take a request and I'd do request.addfinalizer(...), but in some
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 exis