googlecodelabs / android-perf-testing

Automated Performance Testing on Android
https://codelabs.developers.google.com/codelabs/android-perf-testing/
Apache License 2.0
93 stars 39 forks source link

Item 7 - Automating Systrace with MonkeyRunner fails #14

Open pgulotta opened 8 years ago

pgulotta commented 8 years ago

FYI:Running the test on Windows 10

Your command: gradlew :app:assembleDebug :app:assembleDebugAndroidTest ... I think list an incorrect task, :app:assembleDebugAndroidTest.

Should be: gradlew :app:assembleDebug :app:assembleAndroidTest ....

kremkrem commented 8 years ago

No, your suggestion is wrong - tasks are generated in every possible flavor, including the existrence of assembleDebugAndroidTest , which compiles the test app destined to work with the debug app, compiled with assembleDebug. Meanwhile assembleAndroidTest I believe is supposed to compile the test app in all flavors, not just the one you really need.