Android 12 Developer Preview is here! Try it out, and give us 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.