Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace ActivityTestRule with activityScenarioRule #42

Closed
1 of 2 tasks
liweijian opened this issue May 20, 2021 · 1 comment
Closed
1 of 2 tasks

Replace ActivityTestRule with activityScenarioRule #42

liweijian opened this issue May 20, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@liweijian
Copy link
Contributor

⚠️ 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
@cortinico cortinico added the enhancement New feature or request label May 20, 2021
@cortinico
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants