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
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):
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: