059: Chiu-Ki Chan explains Mocking and Stubbing with Mockito

We talk with the all-star multi-talented GDE Chiu-Ki Chan about testing. Specifically, we dive into leveraging Mockito for your testing needs. What is Mocking, what is Stubbing, what are the different test doubles, how does mockito help with this? Listen on to find about that and some more interesting stuff on testing!

Download directly

Show Notes

About Chiu-Ki:

fake SharedPreferences implementations from AOSP

Different kinds of Test doubles

  • Know your test doubles [testing.googleblog.com]
  • [Test Doubles: Mocks, Stubs, and More](https://www.objc.io/issues/15-testing/mocking-stubbing/ http://www.javaworld.com/article/2074508/core-java/mocks-and-stubs—understanding-test-doubles-with-mockito.html) [objc.io]
  • Mocks aren’t Stubs [martinfowler.com]

Mockito

Resources

Contact