0.7 C
London
Thursday, November 21, 2024

Check smarter, not tougher: new testing methods documentation | by Jose Alcérreca | Android Builders | Nov, 2024


We’re happy to announce a big replace to our official documentation on testing methods for Android builders. These new guides will provide help to create extra strong and dependable apps throughout kind components.

We work carefully with many groups and one factor all of them have in widespread is a justified rising deal with automated testing. Extra options, extra kind components, and extra supported Android releases make checks more and more vital. These guides don’t deal with testing extra, however on testing thoughtfully in order that bugs are caught early within the improvement course of and groups waste much less time debugging points in manufacturing or flaky checks.

The brand new pages are extra opinionated and current the testing technique adopted by Google apps: a 5-layer pyramid that’s adaptable to the precise wants of your app and staff.

An instance scalable take a look at pyramid

We launched 7 new pages:

  • Emphasis on developer productiveness: Our up to date documentation highlights how a well-defined (1) testing technique can enhance your improvement workflow by figuring out points early within the improvement cycle.
  • Choosing the Proper Check Sorts: We’ve included extra steerage on vital take a look at sorts, together with (2) screenshot and (3) efficiency checks, and the way to decide on probably the most applicable one for various eventualities. We additionally integrated the time period “habits” take a look at for these UI checks that don’t take screenshots.
  • Business finest practices: You may’t take a look at at scale with flaky checks. We’ve added suggestions on bettering the (4) stability of huge checks and methods to enhance reliability with instruments like (5) Robolectric.
  • Avoiding regressions in several display screen sizes: Regressions in giant screens are quite common, so it’s essential to have automated checks for giant screens. We added (6) testing technique suggestions and (7) instruments to catch these points.

We encourage you to overview the up to date documentation and start incorporating these finest practices into your tasks. Your suggestions is all the time welcome, so please go away a remark together with your ideas on the adjustments and the way we will proceed to enhance our steerage.

Comfortable testing!

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here