Title :
A Comparative Evaluation of Unit Testing Techniques on a Mobile Platform
Author :
Benli, Selin ; Habash, Anthony ; Herrmann, Andy ; Loftis, Tyler ; Simmonds, Devon
Author_Institution :
Univ. of North Carolina, Wilmington, NC, USA
Abstract :
Software testing is generally an expensive, ad hoc and unpredictable process. Therefore, a better understanding of and an improvement of unit testing methods may improve the overall software testing process leading to more efficient test method selection and increased fault detection accuracy. The aim of this study is evaluate Black Box and White Box unit testing methods for the Android operating system. While several investigations have looked at unit testing using Black Box and White Box techniques, our research focuses explicitly on unit testing for Android applications. Test cases were created using JUnit and the program under test was seeded with errors by an outside party. We evaluated the performance of these two test methods on the difficulty of developing test cases for each method and the effectiveness of finding software errors in a controlled environment. Our results showed benefits and challenges for both testing techniques. Inferences and implications are also presented.
Keywords :
mobile computing; operating systems (computers); program testing; software fault tolerance; software performance evaluation; Android applications; Android operating system; Black Box unit testing method; JUnit; White Box unit testing method; fault detection accuracy; mobile platform; performance evaluation; program under test; software errors; software testing; test method selection; unit testing techniques; Abstracts; Androids; Humanoid robots; Mobile communication; Software; Software testing; Android Applications; Black Box Testing; Software Engineering; Unit Testing; White Box Testing;
Conference_Titel :
Information Technology: New Generations (ITNG), 2012 Ninth International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-1-4673-0798-7
DOI :
10.1109/ITNG.2012.45