Combining UML sequence and state machine diagrams for data-flow based integration testing
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.
|Keywords||Coupling, Data flow, Integration testing, Interaction diagram, State machine, UML 2|
Briand, L. (Lionel), Labiche, Y, & Liu, Y. (Yanhua). (2012). Combining UML sequence and state machine diagrams for data-flow based integration testing. doi:10.1007/978-3-642-31491-9_8