Improving Defect Detection Ability of Derived Test Cases Based on Mutated UML Activity Diagrams

Haiying Sun,Mingsong Chen,Min Zhang,Jing Liu,Ying Zhang
DOI: https://doi.org/10.1109/COMPSAC.2016.136
2016-01-01
Abstract:Structure coverage driven test generation is the key approach for automatic testing at source code level. However, the defect detection ability of the generated test cases should be carefully evaluated since the correlation between coverage and test effectiveness is in doubt. In this paper, we propose a test generation approach based on mutation testing with the intent to derive test cases towards finding defects rather than just covering certain syntactic structures. Moreover, instead of generating test cases from the code under test directly, we base our approach on UML activity diagrams to make it possible to decide verdicts of test inputs. Mutation operators for activity diagrams are defined and the test generation algorithms are based on solving mutated path constraints. Experimental results have shown that by applying the proposed mutated testing approach, test cases with higher defect detection ability can be generated.
What problem does this paper attempt to address?