Back to Search
Start Over
Search-Based Mutant Selection for Efficient Test Suite Improvement: Evaluation and Results
Search-Based Mutant Selection for Efficient Test Suite Improvement: Evaluation and Results
- Source :
- Information and Software Technology, Volume 104, 2018, Pages 130-143., RODIN: Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz, Universidad de Cádiz, RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz, instname
- Publication Year :
- 2018
- Publisher :
- Elsevier, 2018.
-
Abstract
- Context: Search-based techniques have been applied to almost all areas in software engineering, especially to software testing, seeking to solve hard optimization problems. However, the problem of selecting mutants to improve the test suite at a lower cost has not been explored to the same extent as other problems, such as mutant selection for test suite evaluation or test data generation. Objective: In this paper, we apply search-based mutant selection to enhance the quality of test suites efficiently. Namely, we use the technique known as Evolutionary Mutation Testing (EMT), which allows reducing the number of mutants while preserving the power to refine the test suite. Despite reported benefits of its application, the existing empirical results were derived from a limited number of case studies, a particular set of mutation operators and a vague measure, which currently makes it difficult to determine the real performance of this technique. Method: This paper addresses the shortcomings of previous studies, providing a new methodology to evaluate EMT on the basis of the actual improvement of the test suite achieved by using the evolutionary strategy. We make use of that methodology in new experiments with a carefully selected set of real-world C++ case studies. Results: EMT shows a good performance for most case studies and levels of demand of test suite improvement (around 45% less mutants than random selection in the best case). The results reveal that even a reduced subset of mutants selected with EMT can serve to increase confidence in the test suite, especially in programs with a large set of mutants. Conclusions: These results support the use of search-based techniques to solve the problem of mutant selection for a more efficient test suite refinement. Additionally, we identify some aspects that could foreseeably help enhance EMT.
- Subjects :
- Optimization problem
Test data generation
Computer science
Context (language use)
02 engineering and technology
Machine learning
computer.software_genre
Genetic algorithm
0202 electrical engineering, electronic engineering, information engineering
Test suite
genetic algorithm
evolutionaryalgorithm
Selection (genetic algorithm)
business.industry
search-based software engineering
mutation testing
Search-based software engineering
020207 software engineering
Computer Science Applications
020201 artificial intelligence & image processing
Artificial intelligence
Evolution strategy
business
computer
Software
Information Systems
Subjects
Details
- Language :
- English
- Database :
- OpenAIRE
- Journal :
- Information and Software Technology, Volume 104, 2018, Pages 130-143., RODIN: Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz, Universidad de Cádiz, RODIN. Repositorio de Objetos de Docencia e Investigación de la Universidad de Cádiz, instname
- Accession number :
- edsair.doi.dedup.....9638719071cfa5c5fa01c5e21a5496f6