AndroidX Test and Espresso
Official docs outline
7 sections- Testing overview
Test types, local vs instrumented.
- Espresso
onView, ViewMatchers, ViewActions and ViewAssertions.
- Local unit tests
JUnit tests on the JVM and Robolectric.
- Instrumented tests
AndroidJUnitRunner and ActivityScenario.
- UI Automator
Cross-app UI testing.
- Testing fundamentals
Test pyramid and strategy.
- Release notes
Test artifact versions.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.