You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
teardown methods are executed inside out which is good (reversed order compared to setups) which is good.
test_teardown methods however run outside in which is wrong...
See example in attached source test_fixtureorder.py.zip
Part of output of the code:
@setUp main layer
@testSetUp main layer
@testmain
@testTearDown main layer
@setUp layer A
@testSetUp main layer
@testSetUp layer A
@testA
@testTearDown main layer <-- problem is here "testTearDown layer A" should run before
@testTearDown layer A
The text was updated successfully, but these errors were encountered:
I'm marking this issue as help wanted because I haven't gotten to spend the kind of time on it that it deserves. I spent maybe an hour trying to figure out what was going on a few weeks ago, and an hour is just not nearly enough to get fully versed in the layers plugin.
If anyone has a fix, obviously that would be great, but insights/thoughts would be welcome too.
teardown methods are executed inside out which is good (reversed order compared to setups) which is good.
test_teardown methods however run outside in which is wrong...
See example in attached source
test_fixtureorder.py.zip
Part of output of the code:
The text was updated successfully, but these errors were encountered: