Reputation: 2561
Can someone explain the main differences between these types of Android gradle tasks?
- check - Runs all checks.
- connectedAndroidTest - Installs and runs the tests for Build 'debug' on connected devices.
- connectedCheck - Runs all device checks on currently connected devices.
- deviceCheck - Runs all device checks using Device Providers and Test Servers.
E.g. if I run connectedAndroidTest
and connectedCheck
, it seems, that everything will be the same -> my test classes are called (on the device or emulator).
Upvotes: 18
Views: 4790
Reputation: 572
Difference between different Android gradle tasks is as follows: (Ref: http://tools.android.com/tech-docs/new-build-system/user-guide)
Upvotes: 21