Anton Averin is writing a series of articles which will focus on practical approaches on how to write testable, re-usable and maintainable code when developing applications for Android.
Dominic Fox took something extremely simple, unfolded it into something disconcertingly complex, and then folded it back into something relatively simple again.
Libraries like Espresso allow UI tests to have stable interactions with your app, but without discipline these tests can become hard to manage and require frequent updating. In this talk Jake will cover how the so-called robot pattern allows you to create stable, readable, and maintainable tests with the aid of Kotlin’s language features.
Testing lists, grids and spinners with Espresso needs a different approach than the standard View matching with onView(). Learn how to use onData() to look for data in the Adapters.