[py-dev] py.test: initializing test environment

Ian Bicking ianb at colorstudy.com
Fri Nov 4 05:45:02 CET 2005


I want to add an option that effects the environment before any tests
are collected.  But I'm having a hard time doing that.

I'm thinking that conftest.py files could have a setup_tests() function,
that will be called with no arguments after the configuration has been
parsed.

-- 
Ian Bicking  |  ianb at colorstudy.com  |  http://blog.ianbicking.org



More information about the Pytest-dev mailing list