Skip to main content

Model-Based Software Regression Testing for Software Components

  • Conference paper
Information Systems, Technology and Management (ICISTM 2009)

Abstract

This paper presents a novel approach of generating regression test cases from UML design diagrams. Regression testing can be systematically applied at the software components architecture level so as to reduce the effort and cost of retesting modified systems. Our approach consists of transforming a UML sequence diagram of a component into a graphical structure called the control flow graph (CFG) and its revised version into an Extended control flow graph (ECFG) The nodes of the two graphs are augmented with information necessary to compose test suites in terms of test case scenarios. This information is collected from use case templates and class diagrams. The graphs are traversed in depth-first-order to generate test scenarios. Further, the two are compared for change identification. Based on change information, test cases are identified as reusable, obsolete or newly added. The regression test suite thus generated is suitable to detect any interaction and scenario faults.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Ali, A., Nadeem, A., Iqbal, M.Z.Z., Usman, M.: Regression Testing based on UML Design Models. In: Proceeding of the 10th International Conference on Information Technology. IEEE press, Los Alamitos (2007)

    Google Scholar 

  2. Pilone, D., Pitman, N.: UML 2.0 in a Nutshell. O’Reilly, NY (2005)

    Google Scholar 

  3. Baradhi, G., Mansour, N.: A Comparative Study of Five Regression Testing Algorithms. In: Australian Software Engineering Conference (ASWEC 1997). IEEE, Los Alamitos (1997)

    Google Scholar 

  4. Leung, H.K.N., White, L.: Insights into Regression Testing. Journal of Software Maintenance 2(4), 209–222 (1990)

    Article  Google Scholar 

  5. Briand, L., Labiche, Y.: A UML Based Approach to System Testing. Journal of Software and Systems Modeling 1, 10–42 (2002)

    Article  MATH  Google Scholar 

  6. Xu, L., Dias, M., Richardson, D.: Generating Regression Tests via Model Checking. In: Proceedings of 28th Annual Interbnational Computer Software and Applications Conference (COMPSAC 2004), pp. 336–341 (2004)

    Google Scholar 

  7. Harrold, M.J.: Testing: A Roadmap. In: Finkelstein, A. (ed.) ACM ICSE 2000, The future of Software Engineering, pp. 61–72 (2000)

    Google Scholar 

  8. Object Management Group (OMG): UML 2.0 Superstructure Final Adopted specification. ver. 2.1.1 (2003)

    Google Scholar 

  9. Pilskalns, O., Williams, D., Aracic, D.: Security Consistency in UML Designs. In: Proceeding of 30th International Conference on Computer Software and Applications (COMPSAC 2006), pp. 351–358. IEEE press, Los Alamitos (2006)

    Chapter  Google Scholar 

  10. Scheetz, Cui, J.: Towards Automated Support For Deriving Test Data From UML Sequence Diagrams. In: Proceedings of 6th International Conference on Unified Modeling Language, San Francisco, USA, October 20-24 (2003)

    Google Scholar 

  11. Chakrabarti, S.K., Srikant, Y.N.: Specification Based Regression Testing Using Explicit State Space Enumeration. In: Proceedings of the International Conference on Software Engineering Advances (ICSEA 2006). IEEE Press, Los Alamitos (2006)

    Google Scholar 

  12. http:// www.netbeans.org/features/uml/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Batra, G., Arora, Y.K., Sengupta, J. (2009). Model-Based Software Regression Testing for Software Components. In: Prasad, S.K., Routray, S., Khurana, R., Sahni, S. (eds) Information Systems, Technology and Management. ICISTM 2009. Communications in Computer and Information Science, vol 31. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-00405-6_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-00405-6_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-00404-9

  • Online ISBN: 978-3-642-00405-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics