Open in app

Sign In

Write

Sign In

Roman Tikonov
Roman Tikonov

4 Followers

Home

About

Dec 12, 2021

Disabling animations when running Android instrumented tests

A reliable and extensible approach — Would you like to make your Android instrumented tests, e.g. espresso tests, less flaky and dramatically faster to execute? Then read on. I will show a reliable and extensible approach to automatically disabling animations on test devices before running instrumented tests and then restoring device animation settings after the test…

Android

3 min read

Disabling animations when running Android instrumented tests
Disabling animations when running Android instrumented tests
Android

3 min read


Mar 8, 2020

Unit testing kotlin coroutines on Android with JUnit 5

JUnit 5 extensions vs JUnit 4 rules — If you unit test coroutines in your Android app, you have already seen this exception: Exception in thread "main @coroutine#1" java.lang.IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used For those of you who use or plan to use JUnit…

Android

2 min read

Unit testing kotlin coroutines on Android with JUnit 5
Unit testing kotlin coroutines on Android with JUnit 5
Android

2 min read

Roman Tikonov

Roman Tikonov

4 Followers

Self-Employed Senior Android Dev | https://romantikonov.com/

Following
  • Maxi Rosson

    Maxi Rosson

  • Mirek Stanek

    Mirek Stanek

  • Daniel Nenkov

    Daniel Nenkov

  • Josef Raska

    Josef Raska

  • Leland Richardson

    Leland Richardson

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech