寫第一個UI Test - iT 邦幫忙 - iThome
文章推薦指數: 80 %
Android X 提供了 ActivityScenario 這個API 來啟動和驅動Activity 的生命週期以 ... { val activityScenario = launch(MainActivity::class.java) return activityScenario } ... 第11屆iT邦幫忙鐵人賽 DAY 23 0 自我挑戰組 Andr
延伸文章資訊
- 1Source Code for ActivityScenario.java - AndroidX Tech
It * works with arbitrary activities and works consistently across different versions of the Andr...
- 2Test your app's activities | Android Developers
ActivityScenario is a cross-platform API that you can use in local unit tests and on-device inte...
- 3Test your app's activities | Android Developers
ActivityScenario is a cross-platform API that you can use in local unit tests and on-device integ...
- 4androidx.test.core.app.ActivityScenario.onActivity java code ...
Use {@link ActivityScenario to launch and get access to the activity. * {@link ActivityScenario#o...
- 5android-test/ActivityScenario.java at master - GitHub
ActivityScenario<MyActivity> scenario = ...