-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test case passes even though subcase failed #149
Comments
Damn this seems like a major bug - thanks for reporting it! I might have caused it when refactoring the internals between versions 1.2.8, 1.2.9 and 2.0.0 - so perhaps you can try with 1.2.8 Unfortunately I will have access to a computer after a month so until then I cant do anything. |
noticed the same bug. Seems a regression, i tested the 2.0.0, 1.2.8 and 1.2.9, and it appears only in the 2.0.0 release |
Hi! I just fixed the bug and will release version 2.0.1 today. However I won't be able to attend to any other issues in the near month since I'm overwhelmed by work. Since this was an actual bug I felt it would be irresponsible of me to leave it unaddressed. |
Description
It seems that the overall result of a test case is dependent only on the result of the final subcase to run. This means that a test case can pass even though one of the subcases has failed.
Steps to reproduce
The following code results in a failing unit test suite as expected (okay):
However if we swap which subcase is failing we get a passing unit test suite (not okay):
Extra information
The text was updated successfully, but these errors were encountered: