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 been testing some functions that occasionaly call exit 1.
Those functions stop the execution of the test file.
Before stopping, shunit2 always says Ran X tests., where X is the number of tests in my test file.
However, if the Nth test exits, then we actually ran N-1 tests, not X.
I have been testing some functions that occasionaly call
exit 1
.Those functions stop the execution of the test file.
Before stopping,
shunit2
always saysRan X tests.
, whereX
is the number of tests in my test file.However, if the
N
th test exits, then we actually ranN-1
tests, notX
.Here is a file that reproduces the issue:
The console output is currently:
Outputting something like
Ran 1 out of 4 tests.
would be more accurate.The text was updated successfully, but these errors were encountered: