Skip to main content

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

  • Conference paper
  • First Online:

Part of the book series: Smart Innovation, Systems and Technologies ((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.

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

Buying options

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

Learn about institutional subscriptions

References

  1. Mall, R.: Fundamentals of Software Engineering, 3rd edn. Prentice Hall, New Delhi (2009)

    Google Scholar 

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

    Article  Google Scholar 

  4. Rumbaugh, J., Jacobson, I., Booch, G.: The UML Reference Manual. Addison-Wesley, Reading (2001)

    Google Scholar 

  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. 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. 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. Nayak, A., Samanta, D.: Automatic test data synthesis using UML sequence diagrams. J. Object Technol. 09(2), 75–104 (2010)

    Article  Google Scholar 

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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ajay Kumar Jena .

Editor information

Editors and Affiliations

Rights and permissions

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

Publish with us

Policies and ethics