Android test automation in the cloud
Mobile app quality assurance
Test apps on Android
Quality expectations from users are constantly increasing. Mobile application publishers need to raise their quality checking practices to higher standards to compete. Quality assurance requires testing complex mobile applications in every detail. This means exhaustive testing with every change of code to avoid regressions.
What’s more, test cases have to be representative of the real usage scenarios. Testing needs to use sensors like cameras, microphones, GPS, NFC, etc. Tests should cover various mobile form factors, taking variables like different screen sizes into account. Most importantly, to be viable, test operations need to be affordable from an OPEX and CAPEX point of view.
What does it take to achieve these goals? Scalable virtualisation capabilities for Android in the cloud are required first and foremost. Furthermore, the virtualisation platform should be integrated with existing CI/CD infrastructure. Finally APIs need to be available to drive test automation. The key challenges are:
- Android virtualisation
- Integration in CD/CD pipeline
- Automatisation APIs
Anbox Cloud is engineered to address these challenges. The commercially supported platform builds on open source software to empower innovators to test Android applications at scale in the cloud.
Cloud test integration for Android apps
Test at any scale
Anbox Cloud is scalable. You can perform application tests at the capacity that suits your requirements. Run simultaneous tests in different device configurations in Android containers. Perform test sharding to spread your tests across several virtual devices.
Extensive test coverage
Reinforce your quality assurance processes with exhaustive test coverage. Anbox Cloud emulates various device configurations. Furthermore, it simulates device sensors capabilities like touch, cameras, audio and more. This will allow you to compose test configurations representative of the majority of usage scenarios.
Test Android applications natively on ARM servers from Ampere or Marvel in the cloud. Alternatively, take advantage of the newest generations of x86 processors from Intel or AMD. Deploy in your test infrastructure on your favourite cloud or on premise.
Anbox Cloud is compatible with popular CI/CD automation tools like Jenkins, Travis, CircleCI and more. Android containers are accessible via a REST API, making it easy to send ADB calls to single containers to run automation scripts in virtual devices.
What’s under the hood
Anbox Cloud builds on a powerful stack of open-source software to deliver Android app testing from any cloud.
Android in containers
Unlike Android emulators that make use of virtual machines, Anbox Cloud leverages system containers through LXD, the next generation system container manager. Offering a user experience similar to virtual machines but using lightweight Linux containers instead, it is managed via a REST API. You can take advantage of automation-friendly interfaces to streamline your CI/CD testing pipeline.
Emulating Android applications in thousands of virtual mobile devices mobile simultaneously requires orchestration and monitoring of several software components. This involves streaming servers, image repositories, mobile applications, a dashboard application for management and more. Thanks to Juju and MAAS, you can deploy your stack automatically anywhere.
Automate Android app testing
Get in touch with Canonical to explore avenues to modernise your Android application testing infrastructure.Get in touch