Abstract
The paper presents a study where an attempt was made to understand the trends in test cases, generated for testing software programs. The main focus was to identify redundancies in the test cases that are generated, both, manually and in an automated fashion along with other significant trends. Three projects were considered for the analysis−two of which are widely used open-source projects and a course project. The analysis did reveal redundancies in test cases that could be easily avoided. It was attempted to equate redundancy with time. One of the projects was considered for the experiment, where the time to run the original test cases and the test cases after removing the redundancies was measured and compared. An improvement by about 40 % was observed. The analysis also revealed that the test cases were not designed to support all the environments/platforms the actual application does. This initial study shall, definitely, give a jumpstart for a full-fledged empirical study that needs to be performed to understand the actual impact of the redundancy in terms of time and cost. The study has made it clear that there are some significant concerns that need to be addressed when generating test cases for software programs.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Hackner DR, Memon A (2008) Test case generator for GUITAR. In: The Proceedings of 30th International Conference on Software Engineering, pp 959–960
Rachota−http://rachota.sourceforge.net/
Korel B (1990) Automated software test data generation. IEEE transactions on software engineering, August 1990, pp 870–879
Bicevskis J, Borzovs J, Straujums U, Zarins A, Miller E (1979) SMOTL-A system to construct samples for data processing program debugging. IEEE Trans Sofrware Eng 5(1):60–66
Boyer R, Elspas B, Levitt K, (1975) “SELECT-A formal system for testing and debugging programs by symbolic execution,” SIGPLANNotices. vol. 10, no. 6, pp. 234–245
Clarke L (1976) A system to generate test data and symbolically execute programs. IEEE Trans Sofrware Eng 2(3): 215–222
Howden W (1977) Symbolic testing and the DISSECT symbolic evaluation system. IEEE Trans Sofrware Eng 4(4):266–278
Ramamoorthy C, Ho S, Chen W (1976) On the automated generation of program test data. IEEE Trans Software Eng 2(4):293–300
Rapps S, Weyuker E (1985) Selecting software test data using data flow information. IEEE Trans Software Eng 11(4):367–375
Kim YG, Hong HS, Cho SM,Bae DH, Cha SD(1999) “Test cases Generation from UML State Diagrams”, IEE- Proc- Software. vol. 146, no. 4, pp. 187−192
Fröhlich P, Link J (2000) Automated test case generation from dynamic models. Proceedings of the 14th European conference on object-oriented programming, pp 472–492
Goodenough J, Gerhart SL (1975) Toward a theory of test data selection. In: Proceedings of the international conference on reliable software, pp 493–510
Adele Howe, Anneliese Von Mayrhauser, Richard ,Mraz T (1997)“Test Case Generation as an AI Planning Problem “,Autom Software Eng, Vol.4 , Issue 1, pp. 77–106
Atif M, Memon, Martha E, Pollack, d Mary Lou Soffa(2001), “Hierarchical GUI test case generation using automated planning”, IEEE Trans on Software Eng, Vol.27 , Issue 2, Pp.144 – 155
Ciupa I, Leitner A, Oriol M, Meyer B (2008) ARTOO: adaptive random testing for object-oriented software. Proceedings of the 30th international conference on Software engineering, pp 71–80
Godefroid P, Klarlund N, Sen K (2005) DART: directed automated random testing. Proceedings of the 2005 ACM SIGPLAN conference on programming language design and implementation. pp 213–223
Zhu H, Hall P, May J (1997) Software unit test coverage and adequacy. ACM Comput Surv (CSUR) 29(4):366–427
Harrold MJ, Gupta R, Soffa ML (1993) A methodology for controlling the size of a test suite. ACM Trans Software Eng Methodol (TOSEM) 2(3):270–285
Harrold MJ, Jones JA, Li T, Liang D (2001) Regression test selection for Java software. Proceedings of the 16th ACM SIGPLAN conference on object-oriented programming, systems, languages, and applications, pp 312–326
Acknowledgments
I would like to sincerely thank Dr. Adam Porter who gave me the idea and inspired me to work on this problem. I am thankful to Dr. Atif Memon who was kind enough to provide me with data for the study. I am grateful to Bao Nguyen for his patience and help in clarifying all the queries regarding GUITAR and Mancala. I also thank Karthik Sankar R for his valued input and views from an industrial perspective.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer Science+Business Media New York
About this paper
Cite this paper
Krishnamoorthy, S. (2013). An Initial Study Identifying Trends in Test Cases. In: Sobh, T., Elleithy, K. (eds) Emerging Trends in Computing, Informatics, Systems Sciences, and Engineering. Lecture Notes in Electrical Engineering, vol 151. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-3558-7_6
Download citation
DOI: https://doi.org/10.1007/978-1-4614-3558-7_6
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-3557-0
Online ISBN: 978-1-4614-3558-7
eBook Packages: EngineeringEngineering (R0)