Testing
Stay organized with collections
Save and categorize content based on your preferences.
Software testing is the process of executing a program with the intent of
finding errors and abnormal or unexpected behavior. Testing and test-driven
development (TDD) is a critically important step of the software development
process for all Android developers. It helps to reduce defect rates in
commercial and enterprise software.
To prepare for the Associate Android Developer certification exam, developers should:
- Thoroughly understand the fundamentals of testing
- Be able to write useful local JUnit tests
- Understand the Espresso UI test framework
- Know how to write useful automated Android tests
Resources
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-05 UTC."],[[["\u003cp\u003eSoftware testing is crucial for identifying errors and unexpected behavior in software, ultimately reducing defects in released products.\u003c/p\u003e\n"],["\u003cp\u003eAndroid developers preparing for the Associate Android Developer certification should have a strong grasp of testing fundamentals, including writing JUnit and Espresso tests.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers need to be proficient in creating effective automated Android tests to ensure the quality and reliability of their applications.\u003c/p\u003e\n"]]],[],null,["Software testing is the process of executing a program with the intent of\nfinding errors and abnormal or unexpected behavior. Testing and test-driven\ndevelopment (TDD) is a critically important step of the software development\nprocess for all Android developers. It helps to reduce defect rates in\ncommercial and enterprise software.\n\nTo prepare for the Associate Android Developer certification exam, developers should:\n\n- Thoroughly understand the fundamentals of testing\n- Be able to write useful local JUnit tests\n- Understand the Espresso UI test framework\n- Know how to write useful automated Android tests\n\nResources\n\n- [Android Developers -\\\u003e Fundamentals of testing](https://developer.android.com/training/testing/fundamentals)\n- [Android Developers -\\\u003e Automate UI tests](https://developer.android.com/training/testing/ui-testing/)\n- [Codelabs -\\\u003e Unit tests](https://codelabs.developers.google.com/codelabs/android-training-unit-tests/index.html#0)\n- [Codelabs -\\\u003e Android Testing -\\\u003e Unit testing with JUnit and Mockito](https://codelabs.developers.google.com/codelabs/android-testing/index.html#0)\n- [Codelabs -\\\u003e Android Testing -\\\u003e Espresso for UI testing](https://codelabs.developers.google.com/codelabs/android-training-espresso-for-ui-testing/index.html#0)"]]