Abstract
Similar software systems have similar test cases. We find much redundancy even within test cases of a single system. In this paper, we describe the results of similarity analysis performed on Android platform framework project’s test case libraries. The results confirm our hypothesis that reuse of test cases can boost productivity at least as much as reuse of code. We identified repetition patterns in Android platform framework test case libraries that can be represented in generic form for further reuse using variability techniques adopted from Software Product Line (SPL). By exploiting similarity among test cases, we can design generic test case libraries that are much smaller, easier to develop/evolve than existing test case libraries. In this paper, we present quantitative and qualitative findings from our study of Android platform framework test case libraries. We discuss typical patterns of repetitions and illustrate an example of how they can be treated with variability technique ‘XML-based Variant Configuration Language (XVCL)’.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Asaithambi, S.P.R., Jarzabek, S.: Generic adaptable test cases for software product line testing: software product line. In: Proceedings of the 3rd Annual Conference on Systems, Programming, and Applications: Software for Humanity, pp. 33–36. ACM, New York (2012), http://doi.acm.org.libproxy1.nus.edu.sg/10.1145/2384716.2384733 , 978-1-4503-1563-0
Pohl, K., Böckle, G., Linden, F.V.D.: Software Product Line Engineering: Foundations, Principles, and Techniques. Birkhäuser (2005), 9783540243724
McGregor, J.D.: Testing a Software Product Line. Software Engineering Institute (2001), http://repository.cmu.edu/sei/630
McGregor, J.D.: Testing a Software Product Line. In: Borba, P., Cavalcanti, A., Sampaio, A., Woodcook, J. (eds.) PSSE 2007. LNCS, vol. 6153, pp. 104–140. Springer, Heidelberg (2010), http://www.springerlink.com.libproxy1.nus.edu.sg/content/63526l72267k3311/abstract/
Muccini, H., Di Francesco, A., Esposito, P.: Software testing of mobile applications: Challenges and future research directions. In: 2012 7th International Workshop on Automation of Software Test (AST), pp. 29–35 (2012)
Smith, L., Laird, C.: Android: open-source scripting for testing and automation. Dr. Dobb’s J. 26(3), 99–102 (2001), http://dl.acm.org.libproxy1.nus.edu.sg/citation.cfm?id=544544.544553
Burnette, E.: Hello, Android: Introducing Google’s Mobile Development Platform, ch. 2. Pragmatic Bookshelf (2009), 1934356492, 9781934356494
Hu, C., Neamtiu, I.: Automating GUI testing for Android applications. In: Proceedings of the 6th International Workshop on Automation of Software Test, pp. 77–83. ACM, New York (2011), http://doi.acm.org.libproxy1.nus.edu.sg/10.1145/1982595.1982612 , 978-1-4503-0592-1
Runeson, P., Höst, M.: Guidelines for conducting and reporting case study research in software engineering. Empirical Software Engineering 14(2), 131–164 (2009), http://link.springer.com.libproxy1.nus.edu.sg/article/10.1007/s10664-008-9102-8
Basit, H.A., Jarzabek, S.: A Data Mining Approach for Detecting Higher-Level Clones in Software. IEEE Transactions on Software Engineering 35(4), 497–514 (2009)
Jarzabek, S., et al.: XVCL: XML-based variant configuration language. In: Proceedings of the 25th International Conference on Software Engineering, pp. 810–811 (2003)
Bezerra, Y.M., Pereira, T.A.B., da Silveira, G.E.: A Systematic Review of Software Product Lines Applied to Mobile Middleware. In: Sixth International Conference on Information Technology: New Generations, ITNG 2009, pp. 1024–1029 (2009)
White, J., et al.: Automating Product-Line Variant Selection for Mobile Devices. In: 11th International Software Product Line Conference, SPLC 2007., pp. 129–140 (2007)
Kraft, N., Bonds, B., Smith, R.: Cross-language clone detection. In: Proceedings of the 20th International Conference on Software Engineering and Knowledge Engineering, SEKE (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Asaithambi, S.P.R., Jarzabek, S. (2013). Towards Test Case Reuse: A Study of Redundancies in Android Platform Test Libraries. In: Favaro, J., Morisio, M. (eds) Safe and Secure Software Reuse. ICSR 2013. Lecture Notes in Computer Science, vol 7925. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-38977-1_4
Download citation
DOI: https://doi.org/10.1007/978-3-642-38977-1_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-38976-4
Online ISBN: 978-3-642-38977-1
eBook Packages: Computer ScienceComputer Science (R0)