Skip to content

Commit 44111bd

Browse files
committed
Update README.md
- Removed note about androidTest-only module need to run assembleDebug first before doing a cC. This was fixed in 1.3.1 of the Android Gradle plugin.
1 parent 06e67d1 commit 44111bd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

AndroidTestingBlueprint/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,9 @@ Run normally (see above).
114114
Execute:
115115

116116
```
117-
./gradlew module-flavor1-androidTest-only:assembleDebug module-flavor1-androidTest-only:connectedCheck
117+
./gradlew module-flavor1-androidTest-only:connectedCheck
118118
```
119119

120-
Note: `assembleDebug` has to be run before `connectedCheck`. See [bug](https://code.google.com/p/android/issues/detail?id=180689), which will be fixed in 1.3.1 .
121-
122120
##### From command-line via adb
123121
You need to install the app and test app first:
124122

@@ -202,7 +200,7 @@ To only run tests for a specific test class, i.e. EspressoTest, execute:
202200
To pass in an arbitrary argument which can be accessed in a test at runtime, execute:
203201

204202
``` sh
205-
`./gradlew module-flavor1-androidTest-only:connectedCheck -Pandroid.testInstrumentationRunnerArguments.argument1=make_test_fail`
203+
./gradlew module-flavor1-androidTest-only:connectedCheck -Pandroid.testInstrumentationRunnerArguments.argument1=make_test_fail
206204
```
207205
All arguments passed through command line can also be specified in the project's build.gradle file, which is
208206
great for specifying values which are required by the test harness itself. The `argument1` from the previous

0 commit comments

Comments
 (0)