Multi-objective Test Case Selection Through Linkage Learning-Based Crossover

Conference Paper (2021)
Author(s)

Mitchell Olsthoorn (TU Delft - Software Engineering)

Annibale Panichella (TU Delft - Software Engineering)

Research Group
Software Engineering
Copyright
© 2021 Mitchell Olsthoorn, A. Panichella
DOI related publication
https://doi.org/10.1007/978-3-030-88106-1_7
More Info
expand_more
Publication Year
2021
Language
English
Copyright
© 2021 Mitchell Olsthoorn, A. Panichella
Research Group
Software Engineering
Pages (from-to)
87-102
ISBN (print)
978-3-030-88105-4
ISBN (electronic)
978-3-030-88106-1
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Test Case Selection (TCS) aims to select a subset of the test suite to run for regression testing. The selection is typically based on past coverage and execution cost data. Researchers have successfully used multi-objective evolutionary algorithms (MOEAs), such as NSGA-II and its variants, to solve this problem. These MOEAs use traditional crossover operators to create new candidate solutions through genetic recombination. Recent studies in numerical optimization have shown that better recombinations can be made using machine learning, in particular linkage learning. Inspired by these recent advances in this field, we propose a new variant of NSGA-II, called L2-NSGA, that uses linkage learning to optimize test case selection. In particular, we use an unsupervised clustering algorithm to infer promising patterns among the solutions (subset of test suites). Then, these patterns are used in the next iterations of L2-NSGA to create solutions that preserve these inferred patterns. Our results show that our customizations make NSGA-II more effective for test case selection. The test suite sub-sets generated by L2-NSGA are less expensive and detect more faults than those generated by MOEAs used in the literature for regression testing.

Files

SSBSE2021_Olsthoorn_9.pdf
(pdf | 0.634 Mb)
- Embargo expired in 01-09-2022