The second Android 11 Developer Preview is now available, test it out and share your feedback.

androidx.test.ext.junit.rules

Classes

ActivityScenarioRule<A extends Activity> ActivityScenarioRule launches a given activity before the test starts and closes after the test.