-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unit tests are failing #16
Comments
I don't see tests are failing. |
You don't see it locally or you don't see it in the example posted message? |
Actually these logs are showing what is happens on the behind. |
Yes but the check is misleading. A mocked condition in the test was never invoked, so you get the error message. In the unit test you should be invoking every set-up mock. The tests themselves are incorrect and masking the error; they should be failing. |
Ok! Now I got it. You give it a fix. |
Following test methods are failing:
✔ testMultipleEntriesForOneMethod
method call for: 'foo()' with params: (10, 30) was not executed!
✔ testAssertFailsSameMethod
method call for: 'bar()' with params: (10, 30) was not executed!
✔ testAssertOK
method call for: 'bar()' with params: (10, 30) was not executed!
✔ testAssertThrowsOK
method call for: 'bar()' with params: (10) was not executed!
The text was updated successfully, but these errors were encountered: