Source-Level Coverage Techniques for the Black-box Testing of Android Apps
Date Issued
2015
Date
2015
Author(s)
Yeh, Chia-Hao
Abstract
In the mobile generation, mobile applications have become the first choice in the software industry. Many large enterprises have claimed their future strategies are mobile first. Android has the highest market share in mobile platform. Recently, many researches about test case generation algorithm on Android have been done. Therefore, a criterion used to evaluate the quality of generated test cases becomes more and more important. There are two types of testing techniques, one is black-box and the other one is white-box. In black-box, the main criterion depends on the number of bugs found. However, we need a secondary criterion to tell the confidence level of a set of test cases when there are no bugs found or the number of bugs found by each test case are close. Code coverage is an intuitive criterion to meet the requirement. But in the case of black- box testing, it is hard to get code coverage information. This paper introduces a framework that can get source code level coverage information in black-box and then use this information to calculate line coverage in order to evaluate the quality of test cases. Furthermore, with the framework, we propose a test case generation algorithm that can dynamically choose a button to click in order to reach the same coverage rate with less steps.
Subjects
Android Application
Software Testing
Test Case Evaluation
Black- box Testing
Coverage
Type
thesis
