[py-dev] new resource API nearing completion including impl
holger krekel
holger at merlinux.eu
Thu Aug 2 14:22:48 CEST 2012
Hi Ronny,
On Thu, Aug 02, 2012 at 13:32 +0200, Ronny Pfannschmidt wrote:
> Hi Holger,
>
> i don't see a way to determine parametrization of a global resource
> at pytest_configure time (or later)
>
> it would be nice to be able to determine them after configure for
> considering cli args
I was thinking about allowing a function for "params":
@pytest.factory(params=func)
That function would receive the "config" object and maybe some
marker information. (It would be called at collection time.)
best,
holger
> -- Ronny
>
More information about the Pytest-dev
mailing list