[py-dev] new resource API nearing completion including impl
holger krekel
holger at merlinux.eu
Thu Aug 2 19:19:42 CEST 2012
On Thu, Aug 02, 2012 at 14:54 +0200, Ronny Pfannschmidt wrote:
> Hi Holger,
>
> >
> >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.)
> >
> sounds good,
>
> btw, what about other parameters that could/should be global
>
> for example in anyvc i got sets of xspecs
> that get feed into a different ressource
> but they dont really have other code around them,
> should i just pass on testressource.param as result?
I guess so. Not sure i understand "parameters that should be global".
best,
holger
> -- Ronny
>
More information about the Pytest-dev
mailing list