Title :
Test Coverage of Data-Centric Dynamic Compositions in Service-Based Systems
Author :
Hummer, Waldemar ; Raz, Orna ; Shehory, Onn ; Leitner, Philipp ; Dustdar, Schahram
Author_Institution :
Distrib. Syst. Group, Vienna Univ. of Technol., Vienna, Austria
Abstract :
This paper addresses the problem of integration testing of data-centric dynamic compositions in service-based systems. These compositions define abstract services, which are replaced by invocations to concrete candidate services at runtime. Testing all possible runtime instances of a composition is often unfeasible. We regard data dependencies between services as potential points of failure, and introduce the k-node data flow test coverage metric. Limiting the level of desired coverage helps to significantly reduce the search space of service combinations. We formulate the problem of generating a minimum set of test cases as a combinatorial optimization problem. Based on the formalization we present a mapping of the problem to the data model of FoCuS, a coverage analysis tool developed at IBM. FoCuS can efficiently compute near-optimal solutions, which we then use to automatically generate and execute test instances of the composition. We evaluate our prototype implementation using an illustrative scenario to show the end-to-end practicability of the approach.
Keywords :
combinatorial mathematics; optimisation; program testing; search problems; service-oriented architecture; software metrics; systems analysis; FoCuS; abstract service; combinatorial optimization problem; coverage analysis tool; data dependency; data model; data-centric dynamic composition; integration testing; k-node data flow test coverage metric; search space reduction; service-based system; Cities and towns; Concrete; Measurement; Optimization; Runtime; Testing; Web services;
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2011 IEEE Fourth International Conference on
Conference_Location :
Berlin
Print_ISBN :
978-1-61284-174-8
Electronic_ISBN :
978-0-7695-4342-0
DOI :
10.1109/ICST.2011.55