Automatic test case generation from UML communication diagrams

  • Authors:
  • Philip Samuel;Rajib Mall;Pratyush Kanth

  • Affiliations:
  • Department of Computer Science and Engineering, Indian Institute of Technology, Kharagpur, WB 721302, India;Department of Computer Science and Engineering, Indian Institute of Technology, Kharagpur, WB 721302, India;Department of Computer Science and Engineering, Indian Institute of Technology, Kharagpur, WB 721302, India

  • Venue:
  • Information and Software Technology
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a method to generate cluster level test cases based on UML communication diagrams. In our approach, we first construct a tree representation of communication diagrams. We then carry out a post-order traversal of the constructed tree for selecting conditional predicates from the communication diagram. We transform the conditional predicates on the communication diagram and apply function minimization technique to generate the test data. The generated test cases achieve message paths coverage as well as boundary coverage. We have implemented our technique and tested it on several example problems.