[py-dev] reversing fixture/xunit setup call order?

holger krekel holger at merlinux.eu
Sun Dec 16 12:23:00 CET 2012

Hi all,

Currently, if you define e.g. an autouse fixture function it is going to
be called _after_ the xUnit setup functions.  This is especially
surprising when you do a session-scoped autouse fixture.  I am wondering
if we could reverse the order, i.e. call fixture functions (including
autouse-fixtures of course) ahead of xUnit setup methods.

any thoughts?


More information about the Pytest-dev mailing list