[pytest-dev] [discuss] solving the yield test setupstate problem and expanding on it

holger krekel holger at merlinux.eu
Wed Feb 11 08:55:36 CET 2015


Hi Ronny,

could you first outline the problem you are trying to solve?

holger

On Wed, Feb 11, 2015 at 00:48 +0100, Ronny Pfannschmidt wrote:
> 
> Hi,
> 
> since i did hit the generator test i started to create a proof of
> concept on solving it by creating the pytest_pyfunc_interpret_result
> hook.
> 
> now instead of running at collect time, generators checks run inline
> 
> this currently degrades reporting
> * breaks on first fail
> * no separate reports per check
> 
> and it degrades nose support * no generator check setup/teardown
> 
> while i suppose its possible to extend generator support with
> teardown in a hackish fashin i think going for a clean solution
> makes more sense
> 
> is anyone propperly using these features?
> 
> 
> onwards i'd like to check how to extend
> pytest_pyfunc_interpret_result with convenience for asyncio and
> twisted
> 
> 
> -- Ronny
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev
> 


More information about the pytest-dev mailing list