Feedback-directed test case generation based on UML activity diagrams

Xin Chen, Nan Ye, Peng Jiang, Lei Bu, Xuandong Li

Research output: Chapter in Book/Report/Conference proceedingConference PaperOtherpeer-review

3 Citations (Scopus)


As UML models are widely used as design blueprints, model-based techniques can be used in test case generation. However, test cases obtained from these techniques are usually abstract test cases, represented as sequences of actions in abstract models, and heavy human efforts are needed to translate them into concrete test cases accepted by programs for execution. To reduce this effort, we present an approach to automatically generating executable test cases based on activity diagrams. It relates methods of classes in JAVA programs with activity nodes in their design models and instruments codes into JAVA programs to collect traces in execution. Regarding traces collected in execution as feedbacks, data classifiers that can predict test inputs' impact on decision nodes in activity diagrams are constructed. Those data classifiers are used to guide the creation of new test inputs that can cover untouched paths in design models. Experiments show that the approach can greatly relieve testers' burden in preparing test cases.

Original languageEnglish
Title of host publication2011 5th International Conference on Secure Software Integration and Reliability Improvement - Companion, SSIRI-C 2011
PublisherIEEE, Institute of Electrical and Electronics Engineers
Number of pages2
ISBN (Print)9780769544540
Publication statusPublished - 2011
Externally publishedYes
EventInternational Conference on Secure Software Integration and Reliability Improvement 2011 - Jeju Island, Korea, South
Duration: 27 Jun 201129 Jun 2011
Conference number: 5th


ConferenceInternational Conference on Secure Software Integration and Reliability Improvement 2011
Abbreviated titleSSIRI-C 2011
Country/TerritoryKorea, South
CityJeju Island


  • Activity diagram
  • Feedback-directed
  • Test case generation

Cite this