Go offline with the Player FM app!
059: Interview with Chiu-Ki
Manage episode 174363864 series 1401635
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!
Show Notes
- Introducing Pixel [blog.google]
- Static Gateway Pattern [codebetter.com]
About Chiu-Ki:
- Android Dialogs | youtube [youtube.com]
- 360|AnDev co-organizer | conference [360andev.com]
- Technically Speaking| newsletter [tinyletter.com]
fake SharedPreferences implementations from AOSP
- FakeSharedPreferences | fake in-memory SharedPreferences implementation [github.com]
- BridgeSharedPreferences | empty SharedPreferences that does nothing implementation [github.com]
- Testing SharedPreferences [gumroad.com]
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
- Mockito library [github.com]
- Stubbing consecutive calls [mockito.org]
- Argument Captor [mockito.org]
- PowerMock [github.com]
Resources
- friendspell | Chiu-Ki’s example project with a variety of testing strategies [github.com]
- Mock Application in Espresso for Dependency Injection [sqisland.com]
- Chiu-Ki's caster.io courses on Testing | MockWebServer
Contact
- @fragmentedcast [twitter.com]
- @chiuki and +ChiuKiChan
- @donnfelker and +DonnFelker
- @kaushikgopal and +KaushikGopalIsMe
250 episodes
Manage episode 174363864 series 1401635
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!
Show Notes
- Introducing Pixel [blog.google]
- Static Gateway Pattern [codebetter.com]
About Chiu-Ki:
- Android Dialogs | youtube [youtube.com]
- 360|AnDev co-organizer | conference [360andev.com]
- Technically Speaking| newsletter [tinyletter.com]
fake SharedPreferences implementations from AOSP
- FakeSharedPreferences | fake in-memory SharedPreferences implementation [github.com]
- BridgeSharedPreferences | empty SharedPreferences that does nothing implementation [github.com]
- Testing SharedPreferences [gumroad.com]
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
- Mockito library [github.com]
- Stubbing consecutive calls [mockito.org]
- Argument Captor [mockito.org]
- PowerMock [github.com]
Resources
- friendspell | Chiu-Ki’s example project with a variety of testing strategies [github.com]
- Mock Application in Espresso for Dependency Injection [sqisland.com]
- Chiu-Ki's caster.io courses on Testing | MockWebServer
Contact
- @fragmentedcast [twitter.com]
- @chiuki and +ChiuKiChan
- @donnfelker and +DonnFelker
- @kaushikgopal and +KaushikGopalIsMe
250 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.