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 just realised that the method Mockito.reset() existed at all. The documentation in the most recent version states:
Smart Mockito users hardly use this feature because they know it could be a sign of poor tests.
At the core, I totally agree, this shouldn't be necessary. Nevertheless, the first sentence of the comment feels rather rude / condescending. I suggest a rephrase to something like
Using this method could be a sign of poor tests. <rest of the doc here>
Hello,
I just realised that the method
Mockito.reset()
existed at all. The documentation in the most recent version states:At the core, I totally agree, this shouldn't be necessary. Nevertheless, the first sentence of the comment feels rather rude / condescending. I suggest a rephrase to something like
Would help with that.
See the following link: https://github.com/mockito/mockito/blob/main/src/main/java/org/mockito/Mockito.java#L2581
The text was updated successfully, but these errors were encountered: