cortinico/kotlin-android-template

Replace ActivityTestRule with activityScenarioRule

liweijian opened this issue · 1 comments

⚠️ Is your feature request related to a problem? Please describe

ActivityTestRule inside the espresso test case is deprecated .

💡 Describe the solution you'd like

I believe we could add JUnit KTX extension library , and then:

@get:Rule val activityScenarioRule = activityScenarioRule<MainActivity>()

🤚 Do you want to develop this feature yourself?

  • Yes
  • No

Yup makes sense to me 👍 Please go ahead with ActivityScenarioRule and thank you for offering to do it 🙏