-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
topic: fixturesanything involving fixtures directly or indirectlyanything involving fixtures directly or indirectly
Description
#4091 introduced a nice feature employed xunit-style setups and unittest definitions as internal fixtures.
But unfortunately, it looks like there is no way to make a strict order of fixture setup as It made in case of regular ones. Yes, sure, setup*/teardown* have
their own fixture names, but they are internal, for example:
_Class__pytest_setup_class
_UnitTestCase__pytest_class_setup
I couldn't rely on them since they are not documented and could be different from release to release.
The second problem that even if I drop xunit/unittest setups I can't forbid their usage by Pytest means.
Metadata
Metadata
Assignees
Labels
topic: fixturesanything involving fixtures directly or indirectlyanything involving fixtures directly or indirectly