Thursday, July 14, 2022
HomeGreen technologyAndroid Builders Weblog: Developer-Powered CTS (CTS-D)

Android Builders Weblog: Developer-Powered CTS (CTS-D)

Posted by Sachiyo Sugimoto, Android Associate Engineering

A power of Android is its various ecosystem of gadgets, delivered to market by greater than 24K distinct gadgets, and utilized by billions of individuals all over the world. For the reason that early releases of Android, we’ve invested in our Android Compatibility Program as a manner to make sure that gadgets proceed to offer a steady, constant atmosphere for apps.

The Compatibility Take a look at Suite (CTS) is a key a part of this system – it’s a assortment of greater than two million check circumstances that test Android gadget implementations to make sure developer functions run on quite a lot of gadgets and allow a constant utility expertise for customers.

Machine makers run CTS on their gadgets all through the event course of, and use it to establish and repair bugs early. Through the years we’ve always expanded the suite by including new check circumstances, and right now 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 always 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 check suite referred to as CTS-D that’s constructed and run by builders such as you.

What’s CTS-D?

CTS-D is a brand new CTS module that’s powered by app builders with a give attention to ache factors that they’re seeing within the subject. Builders can construct and contribute check 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 carefully with the Android developer group to increase the CTS-D suite.

We all know that a lot of you’ve gotten already created your individual checks to confirm compatibility on numerous gadgets. We need to work with you to deliver these checks into AOSP, and you may see the primary checks contributed by the group within the preliminary CTS-D commit right here.

So with CTS-D, we’re serving to to make these sorts of checks out there broadly, to assist gadget producers and app builders establish and share points extra successfully.

How is CTS-D used?

CTS-D is open-sourced and out there on AOSP, so any app developer can use it as a verification device. 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 check, please report the issue utilizing this difficulty tracker template. After we confirm the problem on the reported gadget, we are going to 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!

You probably have an thought for CTS-D, please file a check proposal utilizing this difficulty tracker template earlier than contributing your check code to AOSP. The Android staff will evaluation your proposal and confirm your check’s eligibility. We’re at present most curious about including extra check circumstances within the space of Energy Administration.

Identical to with CTS, new CTS-D check circumstances should meet eligibility necessities and may solely implement the next:

  1. All public API behaviors which can be described in Android developer documentation.
  2. All MUST necessities which can be included in Android Compatibility Definition Doc (CDD).
  3. Take a look at circumstances that haven’t been coated by current CTS check circumstances in AOSP

In case you are curious about studying extra about CTS-D, take a look at tutorials right here on contribute to and make the most of CTS-D. Observe that the evaluation course of for brand new CTS-D check circumstances can take a while, so thanks in your endurance. We hope you’ll give CTS-D a attempt quickly. Let’s collaboratively make the Android expertise even higher!



Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments