Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

androidx.test.core.app

Interfaces

ActivityScenario.ActivityAction<A extends Activity> ActivityAction interface should be implemented by any class whose instances are intended to be executed by the main thread. 

Classes

ActivityScenario<A extends Activity> ActivityScenario provides APIs to start and drive an Activity's lifecycle state for testing. 
ApplicationProvider Provides ability to retrieve the current application Context in tests.