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
I have a problem, related to using rerun-except.
Scenario that causes the problem:
test run with --rerun-except SomeError
test uses function scoped fixture
error in test occures, for example: assert fail
teardown of function scoped fixture is triggered
SomeError is raised in the teardown
test reruns, even though SomeError was raised
Expected behaviour: test should fail without rerun
It seems to me that only the first raised error in test is taken in account when using --rerun-except?
Is there any way to fix it through configuration or is it a library issue?
The text was updated successfully, but these errors were encountered:
9WooPWooP8
changed the title
rerun-except option captures only first error of the test, ignoring teardown error
rerun-except option ignores teardown error
Jun 26, 2024
Hello!
I have a problem, related to using rerun-except.
Scenario that causes the problem:
Expected behaviour: test should fail without rerun
It seems to me that only the first raised error in test is taken in account when using --rerun-except?
Is there any way to fix it through configuration or is it a library issue?
The text was updated successfully, but these errors were encountered: