Android पर ऐप्लिकेशन टेस्ट करना   यह Android Jetpack का हिस्सा है.

ऐप्लिकेशन को टेस्ट करना, ऐप्लिकेशन डेवलप करने की प्रक्रिया का ज़रूरी हिस्सा है. ऐप्लिकेशन को सार्वजनिक तौर पर रिलीज़ करने से पहले, उसके लिए लगातार टेस्ट चलाकर यह देखा जा सकता है कि वह कितना सही है. साथ ही, यह भी देखा जा सकता है कि वह कैसे काम करता है और आसानी से इस्तेमाल किया जा सकता है या नहीं.

टेस्टिंग से ये फ़ायदे भी मिलते हैं:

  • गड़बड़ियों के बारे में तुरंत सुझाव, शिकायत या राय.
  • डेवलपमेंट साइकल में गड़बड़ी का जल्द पता लगाना.
  • सुरक्षित कोड रीफ़ैक्टरिंग, जिसकी मदद से, रिग्रेशन के बारे में चिंता किए बिना कोड को ऑप्टिमाइज़ किया जा सकता है.
  • डेवलपमेंट की स्थिर रफ़्तार, जिससे आपको तकनीकी क़र्ज़ को कम करने में मदद मिलती है.

दस्तावेज़

इस दस्तावेज़ में, Android ऐप्लिकेशन की जांच करने के सबसे सही तरीके बताए गए हैं:

अन्य संसाधन

Android पर टेस्टिंग के बारे में ज़्यादा जानकारी के लिए, यहां दिए गए संसाधन देखें.

सैंपल

कोडलैब

मीडिया

This is part of the Testing at scale series of articles where we asked industry experts to share their testing strategies. In this article, Ken Yee, Senior Engineer at Netflix, tells us about the challenges of testing a playback app at a massive

We’re excited to announce the new “Testing at scale” blog series! In these posts, industry experts working on different apps share their testing strategies, tips, and obstacles found along the way. This series complements the new Testing Strategies

You can test a ViewModel by simply creating an instance using its constructor in your test code. However, this approach has limitations — there is no straightforward way to: With ViewModelScenario, these are now easy to test, helping you catch errors

Keep your UI delightful by testing it! Previews allow quickly verifying components during development, which can be automated with the preview screenshot testing Gradle plugin to create visual regression tests. Behavior tests can use