Loading docs/html/tools/testing-support-library/index.jd +5 −5 Original line number Diff line number Diff line Loading @@ -585,13 +585,13 @@ allAppsButton.clickAndWaitForNewWindow();</pre> <pre> dependencies { androidTestCompile 'com.android.support.test:runner:0.3' androidTestCompile 'com.android.support.test:runner:0.4' // Set this dependency to use JUnit 4 rules androidTestCompile 'com.android.support.test:rules:0.3' androidTestCompile 'com.android.support.test:rules:0.4' // Set this dependency to build and run Espresso tests androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1' // Set this dependency to build and run UI Automator tests androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1' androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2' }</pre> <p>To set Loading docs/html/training/testing/ui-testing/espresso-testing.jd +7 −7 Original line number Diff line number Diff line Loading @@ -120,9 +120,9 @@ trainingnavtop=true <pre> dependencies { androidTestCompile 'com.android.support.test:runner:0.3' androidTestCompile 'com.android.support.test:rules:0.3' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2' androidTestCompile 'com.android.support.test:runner:0.4' androidTestCompile 'com.android.support.test:rules:0.4' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1' } </pre> </li> Loading Loading @@ -572,9 +572,9 @@ android { } }</pre> </li> <li>Run your tests from the command-line by calling the the {@code connectedCheck} (or {@code cC}) task: <li>Run your tests from the command-line by calling the the {@code connectedAndroidTest} (or {@code cAT}) task: <pre> ./gradlew cC</pre> ./gradlew cAT</pre> </li> </ol> Loading
docs/html/tools/testing-support-library/index.jd +5 −5 Original line number Diff line number Diff line Loading @@ -585,13 +585,13 @@ allAppsButton.clickAndWaitForNewWindow();</pre> <pre> dependencies { androidTestCompile 'com.android.support.test:runner:0.3' androidTestCompile 'com.android.support.test:runner:0.4' // Set this dependency to use JUnit 4 rules androidTestCompile 'com.android.support.test:rules:0.3' androidTestCompile 'com.android.support.test:rules:0.4' // Set this dependency to build and run Espresso tests androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1' // Set this dependency to build and run UI Automator tests androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1' androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2' }</pre> <p>To set Loading
docs/html/training/testing/ui-testing/espresso-testing.jd +7 −7 Original line number Diff line number Diff line Loading @@ -120,9 +120,9 @@ trainingnavtop=true <pre> dependencies { androidTestCompile 'com.android.support.test:runner:0.3' androidTestCompile 'com.android.support.test:rules:0.3' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2' androidTestCompile 'com.android.support.test:runner:0.4' androidTestCompile 'com.android.support.test:rules:0.4' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1' } </pre> </li> Loading Loading @@ -572,9 +572,9 @@ android { } }</pre> </li> <li>Run your tests from the command-line by calling the the {@code connectedCheck} (or {@code cC}) task: <li>Run your tests from the command-line by calling the the {@code connectedAndroidTest} (or {@code cAT}) task: <pre> ./gradlew cC</pre> ./gradlew cAT</pre> </li> </ol>