Getting Started with AndroidX Test
summary
AndroidX Test unifies JUnit support, Espresso UI, core helpers and Truth so integration tests run on device or locally with Robolectric 4.0+. It shows ActivityScenario replacing ActivityTestRule, FragmentScenario for isolated fragment tests, builders for MotionEvent and PackageInfo, and Espresso intent interception + Truth intent subjects for readable failures. The claim is concrete: same APIs run everywhere, lifecycle and recreation are testable, and the tooling reduces flaky setup and confusing error messages. ActivityScenario FragmentScenario Robolectric 4.0+
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:43Benefits of Testing
- 2:21Challenges of Testing
- 4:20TestDriven Development
- 6:08Split Guideline
- 7:37Who am I
- 8:48Testing Pools
- 9:29AndroidX Test
- 10:39What is included
- 12:36Task List
- 13:10JUnit
- 16:54Core
- 24:36Espresso
- 30:19Truth
related talks
38mGetting Started with AndroidX Test
22mTesting rebooted (with AndroidX Test)
34mFrictionless Android testing: Write once, run everywhere
42mBuild testable apps for Android
46mEfficient Android UI Testing
42mProduction Level Test Driven Development and What's new
41mAndroid Testing Bootstrap
33mAndroid UI Testing & Challenges
