Tricky Android

Android tips, tricks and everything I found interesting

  1. Using Mockito with Kotlin

    Warning After I published this article (thanks to all people who provided their feedback), I realized that approach I suggested is less than ideal and doesn't really solve anything - see updates at the bottom of the article. I will still keep it published though, so other people can learn…

    on testing, android, kotlin, mockito

  2. Android Test tricks - Sharing code between UI & unit tests

    In this series of posts I would like to share some useful tricks I learned over the last few years related to testing on Android. The first trick will be really short Sharing code between unit tests and integration tests At the moment the most common Android testing layout includes…

    on android, gradle, testing