Hi,

i propose 2 new hooks to deal with more intresting aspects of test
distribution and txspecs

1. pytest_generate_gateways(config/session) -> list of execnet gateways

this hook is supposed to generate the execnet gateways for test
execution

the default implementation is supposed to just do what py.test currently
does

howevers users should be free to generate own gateways to custom set up
things like virtualenvs on local or remote computers and be able to
combine txspecs with own options

2. pytest_select_gateways(test, list of gateways) -> list of gateways

this hook is supposed to select the gateways each test is supposed to
run on

the default implementation should pass a test to all of them or
distribute them reasonable

the api for this one probably needs a few more idea since i think my
initial proposal is not adequate for all uses

Regards
Ronny

_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to