Skip to main content

An Initial Study Identifying Trends in Test Cases

  • Conference paper
  • First Online:
Emerging Trends in Computing, Informatics, Systems Sciences, and Engineering

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 151))

  • 2417 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. GUITAR−http://guitar.sourceforge.net/

  2. Hackner DR, Memon A (2008) Test case generator for GUITAR. In: The Proceedings of 30th International Conference on Software Engineering, pp 959–960

    Google Scholar 

  3. Rachota−http://rachota.sourceforge.net/

  4. Korel B (1990) Automated software test data generation. IEEE transactions on software engineering, August 1990, pp 870–879

    Google Scholar 

  5. 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

    Google Scholar 

  6. 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

    Article  Google Scholar 

  7. Clarke L (1976) A system to generate test data and symbolically execute programs. IEEE Trans Sofrware Eng 2(3): 215–222

    Google Scholar 

  8. Howden W (1977) Symbolic testing and the DISSECT symbolic evaluation system. IEEE Trans Sofrware Eng 4(4):266–278

    Google Scholar 

  9. Ramamoorthy C, Ho S, Chen W (1976) On the automated generation of program test data. IEEE Trans Software Eng 2(4):293–300

    Google Scholar 

  10. Rapps S, Weyuker E (1985) Selecting software test data using data flow information. IEEE Trans Software Eng 11(4):367–375

    Article  MATH  Google Scholar 

  11. 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

    Article  Google Scholar 

  12. 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

    Google Scholar 

  13. Goodenough J, Gerhart SL (1975) Toward a theory of test data selection. In: Proceedings of the international conference on reliable software, pp 493–510

    Google Scholar 

  14. 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

    Article  Google Scholar 

  15. 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

    Article  Google Scholar 

  16. 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

    Google Scholar 

  17. 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

    Google Scholar 

  18. Zhu H, Hall P, May J (1997) Software unit test coverage and adequacy. ACM Comput Surv (CSUR) 29(4):366–427

    Article  Google Scholar 

  19. 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

    Google Scholar 

  20. 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

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Shivsubramani Krishnamoorthy .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics