Automatic test case generation for UML activity diagrams

  • Authors:
  • Chen Mingsong;Qiu Xiaokang;Li Xuandong

  • Affiliations:
  • Nanjing University, Nanjing, Jiangsu, P. R. China;Nanjing University, Nanjing, Jiangsu, P. R. China;Nanjing University, Nanjing, Jiangsu, P. R. China

  • Venue:
  • Proceedings of the 2006 international workshop on Automation of software test
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

The test case generation from design specifications is an important work in testing phase. In this paper, we use UML activity diagrams as design specifications, and present an automatic test case generation approach. The approach first randomly generates abundant test cases for a JAVA program under testing. Then, by running the program with the generated test cases, we can get the corresponding program execution traces. Last, by comparing these traces with the given activity diagram according to the specific coverage criteria, we can get a reduced test case set which meets the test adequacy criteria. The approachcan also be used to check the consistency between the program execution traces and the behavior of UML activity diagrams.