Model Based Test Case Generation from UML Sequence and Interaction Overview Diagrams

  • Ajay Kumar Jena
  • Santosh Kumar Swain
  • Durga Prasad Mohapatra
Conference paper
Part of the Smart Innovation, Systems and Technologies book series (SIST, volume 32)

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.

Keywords

Sequence diagram Interaction overview diagram Testing Dominance 

References

  1. 1.
    Mall, R.: Fundamentals of Software Engineering, 3rd edn. Prentice Hall, New Delhi (2009)Google Scholar
  2. 2.
    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)Google Scholar
  3. 3.
    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)CrossRefGoogle Scholar
  4. 4.
    Rumbaugh, J., Jacobson, I., Booch, G.: The UML Reference Manual. Addison-Wesley, Reading (2001)Google Scholar
  5. 5.
    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)Google Scholar
  6. 6.
    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)Google Scholar
  7. 7.
    Patel, P.E., Patil, N.N.: Test cases formation using UML activity diagram. In: International Conference on Communication Systems and Network Technologies. IEEE (2013)Google Scholar
  8. 8.
    Nayak, A., Samanta, D.: Automatic test data synthesis using UML sequence diagrams. J. Object Technol. 09(2), 75–104 (2010)CrossRefGoogle Scholar
  9. 9.
    Sarma, M., Mall, R.: Automatic test case generation from UML models. In: International Conference on Information Technology, pp. 196–201. IEEE Computer Society (2007)Google Scholar
  10. 10.
    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)Google Scholar
  11. 11.
    Panthi, V., Mohapatra, D.P.: Automatic test case generation using sequence diagram. Int. J. Appl. Inf. Syst. (IJAIS) 2(4), 22–29 (2012)Google Scholar

Copyright information

© Springer India 2015

Authors and Affiliations

  • Ajay Kumar Jena
    • 1
  • Santosh Kumar Swain
    • 1
  • Durga Prasad Mohapatra
    • 2
  1. 1.KIIT UniversityBhubaneswarIndia
  2. 2.National Institute of Technology, RourkelaRourkelaIndia

Personalised recommendations