Fundamentals of Android Testing
by Nataliia Vasylyna | December 23, 2016 3:55 pm
Nowadays, a huge number of various Android applications is designed and more and more devices of different configuration are developed. That is why Android app testing[1] requires much time and effort and it is impossible to check the product on every available device.
To provide a proper work of the developed product, the specialists conduct software testing on typical devices configuration which are the most widespread. Moreover, mobile testing[2] is executed on the devices with highest and lowest possible configuration.
What Are the Categories of Android Tests?
- Local unit tests that are run on JVM (Java Virtual Machine).
- Instrumentation tests that should be run on Android system. To check the code with uses Android API, it is necessary to execute the test cases on Android device.
To provide a thorough checking of Android apps, it is recommended to follow a special schema of test distribution.
What Aspects of Android App to Test?
- To provide the stability of code, it is required to perform unit testing.
- The execution of functional testing will ensure the correct work of the application.
- If the product supports the integration with other software and other app components, then multi-platform testing[3] should be conducted.
But first of all, the business logic of the application under development should be analyzed and reviewed. It is very important to apply the so-called testPreconditions() method to test the pre-conditions for all other tests. If this method fails, then every other test will fail too.
Learn more from QATestLab
Related Posts:
- UI Testing on Android: How to Do It Right[4]
- Testing on Real Devices — Just an Option or a Necessity?[5]
- Which is Superior — Gambling on a Mobile Browser or an App?[6]
Endnotes:- Android app testing: https://qatestlab.com/services/special-offer/mobile-testing/
- mobile testing: http://mobile.qatestlab.com/
- multi-platform testing: https://qatestlab.com/services/let-s-compare/multi-platform-testing/
- UI Testing on Android: How to Do It Right: https://blog.qatestlab.com/2016/06/22/android-mobile-testing/
- Testing on Real Devices — Just an Option or a Necessity?: https://blog.qatestlab.com/2022/09/14/real-testing-devices/
- Which is Superior — Gambling on a Mobile Browser or an App?: https://blog.qatestlab.com/2022/05/24/mobile-gambling/
Source URL: https://blog.qatestlab.com/2016/12/23/android-testing-fundamentals/
Copyright ©2024 QATestLab Blog unless otherwise noted.