Combining UML sequence and state machine diagrams for data-flow based integration testing

Lionel Briand, Yvan Labiche, Yanhua Liu

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

Abstract

UML interaction diagrams are used during integration testing. However, this will typically not find all integration faults as some incorrect behaviors are only exhibited in certain states of the collaborating classes during interactions. State machine diagrams are typically used to model the behavior of state-dependent objects. This paper presents a technique to enhance interaction testing by accounting for state-based behavior as well as data-flow information. UML sequence and state machine diagrams are combined into a control-flow graph to then generate integration test cases, adapting well-known coupling-based, data-flow testing criteria. In order to assess our technique, we developed a prototype tool and applied it on a small case study. The results suggest that the proposed technique is more cost-effective than the most closely related approach reported in the literature, which only relies on control flow analysis.

Original languageEnglish
Title of host publicationModelling Foundations and Applications - 8th European Conference, ECMFA 2012, Proceedings
Pages74-89
Number of pages16
DOIs
Publication statusPublished - 2012
Externally publishedYes
Event8th European Conference on Modelling Foundations and Applications, ECMFA 2012 - Kgs. Lyngby, Denmark
Duration: 2 Jul 20125 Jul 2012

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume7349 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference8th European Conference on Modelling Foundations and Applications, ECMFA 2012
Country/TerritoryDenmark
CityKgs. Lyngby
Period2/07/125/07/12

Keywords

  • Coupling
  • Data flow
  • Integration testing
  • Interaction diagram
  • State machine
  • UML 2

Fingerprint

Dive into the research topics of 'Combining UML sequence and state machine diagrams for data-flow based integration testing'. Together they form a unique fingerprint.

Cite this