Smartphones are becoming increasingly popular among users. They are equipped with an enormous number of applications, and these applications drain the smartphones' batteries. Moreover, battery capacity is significantly restricted due to constraints on size and weight of the device. It is important for smartphone applications to be energy efficient. Thus, a methodology to conduct energy performance testing is needed for two reasons: (i) evaluate the power consumption of a single application on a given device; (ii) compare the power consumption of different smartphones or platforms running the same application. In our earlier work “Selection and execution of user level test cases for energy cost evaluation of smartphones” (Proceedings of the 6th AST, 2011), we have developed a testing methodology that significantly reduces the number of test cases. In addition, we have introduced the concepts of primary and standalone test configurations. However, ordering of the executions of those two kinds of tests is non-trivial, and it was not studied in that paper. In this paper, we introduce a methodology to interleave the identification of those two kinds of test configurations in order to reduce the total number of configurations. We express the methodology in the form of a detailed flow chart that application developers can easily follow. We apply the methodology to a specific smartphone, namely HTC Nexus One smartphone in order to illustrate the process of this methodology. We have shown that the total number of test configurations obtained by the given methodology is the same as the number predicted by numerical expressions.
[1]
Jeff Yu Lei,et al.
Practical Combinatorial Testing: Beyond Pairwise
,
2008,
IT Professional.
[2]
Michael L. Fredman,et al.
The AETG System: An Approach to Testing Based on Combinatiorial Design
,
1997,
IEEE Trans. Software Eng..
[3]
Sagar Naik,et al.
A methodology for selecting experiments to measure energy costs in smartphones
,
2011,
2011 7th International Wireless Communications and Mobile Computing Conference.
[4]
Jacek Czerwonka,et al.
Pairwise Testing in Real World
,
2006
.
[5]
Sagar Naik,et al.
Selection and execution of user level test cases for energy cost evaluation of smartphones
,
2011,
AST '11.
[6]
Ming Zhang,et al.
Bootstrapping energy debugging on smartphones: a first look at energy bugs in mobile devices
,
2011,
HotNets-X.
[7]
Edward J. McCluskey,et al.
Gate exhaustive testing
,
2005,
IEEE International Conference on Test, 2005..
[8]
Myra B. Cohen,et al.
A variable strength interaction testing of components
,
2003,
Proceedings 27th Annual International Computer Software and Applications Conference. COMPAC 2003.