קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בדיקת אפליקציות ב-Android
חלק מ-Android Jetpack.
בדיקת האפליקציה היא חלק בלתי נפרד מתהליך פיתוח האפליקציה. כדאי להריץ בדיקות באופן קבוע כדי לוודא שהאפליקציה תקינה, פונקציונלית וקלה לשימוש לפני שמפיצים אותה באופן ציבורי.
בנוסף, לבדיקות יש את היתרונות הבאים:
- משוב מהיר על כשלים.
- זיהוי מוקדם של כשלים במחזור הפיתוח.
- פירוק קוד בטוח יותר, שמאפשר לבצע אופטימיזציה של הקוד בלי לדאוג לגבי נסיגה לאחור.
- קצב פיתוח יציב, שעוזר לצמצם את החוב הטכני.
מסמכים
במסמכי התיעוד מפורטות שיטות מומלצות לבדיקת אפליקציות ל-Android:
מקורות מידע נוספים
למידע נוסף על בדיקה ב-Android, אפשר לעיין במקורות המידע הבאים.
דוגמיות
Codelabs
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# Test apps on Android\nPart of [Android Jetpack](/jetpack).\n=========================================================\n\nTesting your app is an integral part of the app development process. By running\ntests against your app consistently, you can verify your app's correctness,\nfunctional behavior, and usability before you release it publicly.\n\nTesting also offers the following advantages:\n\n- **Rapid feedback** on failures.\n- **Early failure detection** in the development cycle.\n- **Safer code refactoring**, allowing you to optimize code without worrying about regressions.\n- **Stable development velocity**, helping you minimize technical debt.\n\nDocumentation\n-------------\n\nThe documentation covers best practices around testing Android apps:\n\n- [Fundamentals of testing Android apps](/training/testing/fundamentals)\n- [Build local unit tests](/training/testing/local-tests) that run on the host\n- [Build instrumented tests](/training/testing/instrumented-tests) that run on devices or emulators\n- Verify UIs with [Behavior](/training/testing/ui-tests/behavior) and [Screenshot tests](/training/testing/ui-tests/screenshot)\n- [Test different screen sizes](/training/testing/different-screens)\n\nAdditional resources\n--------------------\n\nFor more information about testing on Android, consult the following resources.\n\n### Samples\n\n- [Android testing samples](https://github.com/android/testing-samples)\n- [Now In Android demo app](https://github.com/android/nowinandroid), which makes use of the Android testing libraries.\n\n### Codelabs\n\n- [Android Testing Codelab](/codelabs/advanced-android-kotlin-training-testing-basics)\n\nMedia\n-----"]]