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

Is there a way to avoid quiting the app when a test in done? #862

Open
Pezhin opened this issue Jan 22, 2017 · 1 comment
Open

Is there a way to avoid quiting the app when a test in done? #862

Pezhin opened this issue Jan 22, 2017 · 1 comment

Comments

@Pezhin
Copy link

Pezhin commented Jan 22, 2017

Even in teardown function, I deteled finishOpenedActivities, it will still quit the app. I just want the robotium scripts do some steps and let the app stay there.

@retryer
Copy link

retryer commented Mar 21, 2017

Are you using ActivityInstrumentationTestCase2 or ActivityTestRule ? When using Rules the app is closed automatically because of the Rule itself. If that is the case search on how to avoid it. If you run the tests with connectedAndroidTest , currently there isn't a way to avoid uninstalling the app after all tests complete

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

No branches or pull requests

2 participants