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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
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)
Pilone, D., Pitman, N.: UML 2.0 in a Nutshell. O’Reilly, NY (2005)
Baradhi, G., Mansour, N.: A Comparative Study of Five Regression Testing Algorithms. In: Australian Software Engineering Conference (ASWEC 1997). IEEE, Los Alamitos (1997)
Leung, H.K.N., White, L.: Insights into Regression Testing. Journal of Software Maintenance 2(4), 209–222 (1990)
Briand, L., Labiche, Y.: A UML Based Approach to System Testing. Journal of Software and Systems Modeling 1, 10–42 (2002)
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)
Harrold, M.J.: Testing: A Roadmap. In: Finkelstein, A. (ed.) ACM ICSE 2000, The future of Software Engineering, pp. 61–72 (2000)
Object Management Group (OMG): UML 2.0 Superstructure Final Adopted specification. ver. 2.1.1 (2003)
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)
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)
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)
http:// www.netbeans.org/features/uml/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)