Multiple APKs for test variants

85 views
Skip to first unread message

Roman Mazur

unread,
Sep 26, 2014, 10:19:08 AM9/26/14
to adt...@googlegroups.com
I'm a bit lost with what to do with multiple outputs of test variants...
How do they match application apks? Is it allowed to have abi/density splits for test variants?

How generally application apks are supposed to be tested? There should be a "connected check" task per output? 
I'm trying to update our gradle plugin for spoon... And I'm lost :)

Xavier Ducrohet

unread,
Sep 26, 2014, 11:42:38 AM9/26/14
to adt...@googlegroups.com
They are different packages of the same variant. This means that there is a single connectedCheck task per variants.

When deploying the app and test to a device, the plugin will deploy the most appropriate apk to test to a device alongside the test (of which there is only one).

There are clearly some issues with this:
- No way to know if you ended up deploying every output.
- ABI-based outputs may require test app per ABI.

This is definitively something we are going to have to improve later. I've filed https://code.google.com/p/android/issues/detail?id=76723 to track this.

--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

Roman Mazur

unread,
Sep 26, 2014, 12:15:19 PM9/26/14
to adt...@googlegroups.com
Thanks. Cleared my mind.

I feel it's time to change spoon drastically and use android plugin means to install apks and run tests, only plugging in custom reports that include screenshots.


--
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/ZQZqAQRmFaM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Best regards,
Roman Mazur 

Software engineer at Stanfy (http://stanfy.com.ua)
Skype: roman.mazur.f
Reply all
Reply to author
Forward
0 new messages