Hello everyone, can I test my app without Mockito and use only Espresso and JUnit?
😶 3
e
escodro
04/27/2021, 2:10 PM
Sure. Mock is only one type of test double.
In my projects I prefer to use Mocks only for classes that I have no control. For all other classes, I prefer using Fakes.
I strongly recommend reading this article:
https://martinfowler.com/articles/mocksArentStubs.html