Testing with Mockito

Mockito is a popular and powerful open source Java mocking framework. In order to achieve good unit tests, you need to make use of mocks and stubs. And that’s exactly what this talk will be about: What is a mock?

What’s the difference between a mock and a stub? Are mocks the only way to provide relevant data for your unit tests? What do I do with all the final classes/methods in the Android SDK? How do I architect my app to make it easier to test? After having adopted TDD as my main development workflow for almost a year now, the presenter feels comfortable saying everything can be tested. Its just a matter of having someone experience show you how.

Video producer: http://www.devoxx.com/

Further reading: Mockito – Open Source Java Mocking Framework