[Android-development] Testing on Android

Aleix Pol aleixpol at kde.org
Fri Jun 22 18:57:24 CEST 2018


On Fri, Jun 22, 2018 at 10:14 AM Frederik Gladhorn
<frederik.gladhorn at qt.io> wrote:
>
> Hi all,
>
> This is just for your information. We have so far been mostly running unit
> tests on Android manually before releases and we've been doing various tests
> inside The Qt Company. But we decided to finally make thinks more reliable by
> running unit tests for Android in a regular automated fashion.
> We'll be using the x86 emulator, simply because it's fast and will catch a lot
> of issues. Device testing will still be part of the release process (and
> please help us also in the future by testing with your devices, we have a
> bunch of them, but of course not all variations available on the market).
>
> So right now we are trying to get the few remaining test cases that have so
> far been failing and known not to work to either work or skip them
> appropriately. Also here help is appreciated.
> It's not entirely clear what the final setup will look like, right now we
> spend roughly 3.5 hours on a test run for qtbase, whereas other platforms take
> less than one hour. Maybe we can optimize androiddeployqt or something else,
> but at least we seem to be able to reliably run the tests :)

Hi Frederik,
Cool stuff. Maybe you could point at how these tests are being run? It
will make it easier to offer any feedback.

Are you packaging every test into an apk?

Aleix



More information about the Android-development mailing list