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
> 
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to