Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

androidx.arch.core.executor.testing

Classes

CountingTaskExecutorRule

A JUnit Test Rule that swaps the background executor used by the Architecture Components with a different one which counts the tasks as they are start and finish.

InstantTaskExecutorRule

A JUnit Test Rule that swaps the background executor used by the Architecture Components with a different one which executes each task synchronously.