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

Android Studio instructions outdated? #26

Open
janpio opened this issue Oct 3, 2017 · 1 comment
Open

Android Studio instructions outdated? #26

janpio opened this issue Oct 3, 2017 · 1 comment

Comments

@janpio
Copy link

janpio commented Oct 3, 2017

https://github.com/googlesamples/android-testing-templates/tree/master/AndroidTestingBlueprint#running-instrumentation-tests says:

In Android Studio

  • In the Build Variants window, make sure the Android Instrumentation Tests option is selected.
  • Open a Instrumentation test class like EspressoTest.java or UiAutomatorTest.java
  • Right click on the class and Run as Android Test.

For me (Android Studio 2.3.3 and 3 beta 6) there is no selection for this in "Build Variants".
On right clicking I also don't get "Run as ..." as an option, only "Run '...'".

What is the current equivalent for these instructions?

@janpio
Copy link
Author

janpio commented Oct 3, 2017

Hm I guess "Run configurations" are the solution here:

image
via https://stackoverflow.com/a/46441463/252627

Or is there an easier way that I overlooked?

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

1 participant