Posted by Sachiyo Sugimoto, Android Accomplice Engineering
A power of Android is its numerous ecosystem of gadgets, dropped at market by greater than 24K distinct gadgets, and utilized by billions of individuals all over the world. Because the early releases of Android, we’ve invested in our Android Compatibility Program as a manner to make sure that gadgets proceed to supply a steady, constant atmosphere for apps.
The Compatibility Check Suite (CTS) is a key a part of this system – it’s a assortment of greater than two million take a look at circumstances that verify Android gadget implementations to make sure developer purposes run on a wide range of gadgets and allow a constant software expertise for customers.
Machine makers run CTS on their gadgets all through the event course of, and use it to determine and repair bugs early. Through the years we’ve got continually expanded the suite by including new take a look at circumstances, and as we speak CTS consists of greater than 2 million checks. It’s nonetheless rising – as Android evolves, there are new areas to cowl and there are additionally gaps the place we’re continually working to create extra checks.
Whereas most CTS checks are written by Android engineers, we all know that app builders have a novel perspective on precise gadget compatibility points. So to boost CTS with higher enter from app builders, we’re including a brand new take a look at suite known as CTS-D that’s constructed and run by builders such as you.
CTS-D is a brand new CTS module that’s powered by app builders with a concentrate on ache factors that they’re seeing within the discipline. Builders can construct and contribute take a look at circumstances to CTS-D to assist catch these points, and so they can run the CTS-D suite to confirm compatibility. Long term, our plan is to work intently with the Android developer neighborhood to increase the CTS-D suite.
We all know that a lot of you have got already created your personal checks to confirm compatibility on numerous gadgets. We need to work with you to convey these checks into AOSP, and you’ll see the primary checks contributed by the neighborhood within the preliminary CTS-D commit right here.
So with CTS-D, we’re serving to to make these sorts of checks obtainable broadly, to assist gadget producers and app builders determine and share points extra successfully.
How is CTS-D used?
CTS-D is open-sourced and obtainable on AOSP, so any app developer can use it as a verification software. Utilizing CTS-D helps to reduce the communication overhead amongst app builders, gadget producers and Google, serving to to resolve points successfully.
If a sure gadget doesn’t go a CTS-D take a look at, please report the issue utilizing this challenge tracker template. After we confirm the difficulty on the reported gadget, we’ll work with our companions to resolve it. We’re additionally strongly advising gadget producers to make use of CTS-D to find and mitigate points.
Get Began with CTS-D!
When you have an concept for CTS-D, please file a take a look at proposal utilizing this challenge tracker template earlier than contributing your take a look at code to AOSP. The Android staff will assessment your proposal and confirm your take a look at’s eligibility. We’re at the moment most involved in including extra take a look at circumstances within the space of Energy Administration.
Similar to with CTS, new CTS-D take a look at circumstances should meet eligibility necessities and may solely implement the next:
- All public API behaviors which can be described in Android developer documentation.
- All MUST necessities which can be included in Android Compatibility Definition Doc (CDD).
- Check circumstances that haven’t been lined by present CTS take a look at circumstances in AOSP
If you’re involved in studying extra about CTS-D, try tutorials right here on the right way to contribute to and make the most of CTS-D. Observe that the assessment course of for brand new CTS-D take a look at circumstances can take a while, so thanks to your persistence. We hope you’ll give CTS-D a strive quickly. Let’s collaboratively make the Android expertise even higher!