Abstract
Test case generation is the most crucial job of testing paradigm. Unified Modelling Language (UML) model, give a lot of information for testing which is accepted widely by both the academia and industry. By using UML artifacts the early detection of faults can be achieved during designing while the architectural overview of the software is considered. Using a specific diagram of UML certainly helpful in detecting the flaws. But combining different UML components, more test cases can be generated and different types of faults can be captured by reducing the redundants. In this paper, we propose a method using Sequence Diagram (SD) and Interaction Overview Diagram (IOD) to generate the test cases. An intermediate graph is generated known as Sequence Interaction Graph (SIG) by combining Message Sequence Dependency Graph (MSDG) generated from the sequence diagram and Interaction Graph (IG) generated from Interaction Overview Diagram of the models. By combining the IG and MSDG, different scenarios are generated and it follows the test cases. We use the dominance concept for generating the test cases from these scenarios.
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 subscriptionsReferences
Mall, R.: Fundamentals of Software Engineering, 3rd edn. Prentice Hall, New Delhi (2009)
Abdurazik, A., Offutt, J.: Using UML collaboration diagrams for static checking and test generation. In: Proceedings of the 3rd International Conference on the UML. Lecture Notes in Computer Science, vol. 1939, pp. 383–395. Springer, New York (2000)
Ali, S., Briand, L.C., Jaffar-ur-Rehman, M., Asghar, H., Zafar, Z., Nadeem, A.: A state based approach to integration testing based on UML models. J. Inf. Softw. Technol. 49(11–12), 1087–1106 (2007)
Rumbaugh, J., Jacobson, I., Booch, G.: The UML Reference Manual. Addison-Wesley, Reading (2001)
Das, H., Jena, A.K., Rath, P.K., Muduli, B., Das, S.R.: Grid computing-based performance analysis of power system: a graph theoretic approach. In: Intelligent Computing, Communication and Devices, pp. 259–266 (2014)
Shirole, M., Suthar, A., Rajeev Kumar, R.: Generation of improved test case from UML state diagram using genetic algorithm. In: ACM ISEC’11, pp. 125–134 (2011)
Patel, P.E., Patil, N.N.: Test cases formation using UML activity diagram. In: International Conference on Communication Systems and Network Technologies. IEEE (2013)
Nayak, A., Samanta, D.: Automatic test data synthesis using UML sequence diagrams. J. Object Technol. 09(2), 75–104 (2010)
Sarma, M., Mall, R.: Automatic test case generation from UML models. In: International Conference on Information Technology, pp. 196–201. IEEE Computer Society (2007)
Pechtanun, K., Kansomkeat, S.: Generation of test case from UML activity diagram based on AC grammar. In: International Conference on Computer and Information Science (2012)
Panthi, V., Mohapatra, D.P.: Automatic test case generation using sequence diagram. Int. J. Appl. Inf. Syst. (IJAIS) 2(4), 22–29 (2012)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer India
About this paper
Cite this paper
Jena, A.K., Swain, S.K., Mohapatra, D.P. (2015). Model Based Test Case Generation from UML Sequence and Interaction Overview Diagrams. In: Jain, L., Behera, H., Mandal, J., Mohapatra, D. (eds) Computational Intelligence in Data Mining - Volume 2. Smart Innovation, Systems and Technologies, vol 32. Springer, New Delhi. https://doi.org/10.1007/978-81-322-2208-8_23
Download citation
DOI: https://doi.org/10.1007/978-81-322-2208-8_23
Published:
Publisher Name: Springer, New Delhi
Print ISBN: 978-81-322-2207-1
Online ISBN: 978-81-322-2208-8
eBook Packages: EngineeringEngineering (R0)