Generating complex and faulty test data through model-based mutation analysis

Daniel Di Nardo, Fabrizio Pastore, Lionel Briand

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

Abstract

Testing the correct behaviour of data processing systems in the presence of faulty data is extremely expensive. The data structures processed by these systems are often complex, with many data fields and multiple constraints among them. Software engineers, in charge of testing these systems, have to handcraft complex data files or databases, while ensuring compliance with the multiple constraints to prevent the generation of trivially invalid inputs. In addition, assessing test results often means analysing complex output and log data. Though many techniques have been proposed to automatically test systems based on models, little exists in the literature to support the testing of systems where the complexity is in the data consumed in input or produced in output, with complex constraints between them. In particular, such systems often need to be tested with the presence of faults in the input data, in order to assess the robustness and behaviour of the system in response to such faults. This paper presents an automated test technique that relies upon six generic mutation operators to automatically generate faulty data. The technique receives two inputs: field data and a data model, i.e. a UML class diagram annotated with stereotypes and OCL constraints. The annotated class diagram is used to tailor the behaviour of the generic mutation operators to the fault model that is assumed for the system under test and the environment in which it is deployed. Empirical results obtained with a large data acquisition system in the satellite domain show that our approach can successfully automate the generation of test suites that achieve slightly better instruction coverage than manual testing based on domain expertise.

Original languageEnglish
Title of host publication2015 IEEE 8th International Conference on Software Testing, Verification and Validation, ICST 2015 - Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781479971251
DOIs
Publication statusPublished - 5 May 2015
Externally publishedYes
Event8th IEEE International Conference on Software Testing, Verification and Validation, ICST 2015 - Graz, Austria
Duration: 13 Apr 201517 Apr 2015

Publication series

Name2015 IEEE 8th International Conference on Software Testing, Verification and Validation, ICST 2015 - Proceedings

Conference

Conference8th IEEE International Conference on Software Testing, Verification and Validation, ICST 2015
Country/TerritoryAustria
CityGraz
Period13/04/1517/04/15

Fingerprint

Dive into the research topics of 'Generating complex and faulty test data through model-based mutation analysis'. Together they form a unique fingerprint.

Cite this