Empirical Evaluation of Mutation-based Test Prioritization Techniques

09/14/2017
by   Donghwan Shin, et al.
0

We propose and empirically investigate a new test case prioritization technique that combines both mutation-based and diversity-based approaches. Our diversity-aware mutation-based technique relies on the notion of mutant distinguishment, which aims to distinguish one mutant's behavior from another, rather than from the original program. We empirically investigate the relative cost and effectiveness of the mutation-based prioritization techniques (i.e., using both the traditional mutant kill and the proposed mutant distinguishment) with 352 real faults and 553,477 developer-written test cases. The empirical evaluation considers both the kill-only and the diversity-aware mutation criteria in various settings: single-objective greedy, single-objective hybrid, as well as multi-objective that seeks to prioritize using both criteria simultaneously. The results show that there is no single dominant technique across all the studied faults. To this end, we use visual aids to study and infer the reasons explaining why and when each one of the mutation-based prioritization criteria performs poorly.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/26/2019

Amortising the Cost of Mutation Based Fault Localisation using Statistical Inference

Mutation analysis can effectively capture the dependency between source ...
research
07/23/2018

Assessing Test Case Prioritization on Real Faults and Mutants

Test Case Prioritization (TCP) is an important component of regression t...
research
10/19/2020

Using mutation testing to measure behavioural test diversity

Diversity has been proposed as a key criterion to improve testing effect...
research
06/04/2023

Learning Test-Mutant Relationship for Accurate Fault Localisation

Context: Automated fault localisation aims to assist developers in the t...
research
01/09/2023

Efficient Mutation Testing via Pre-Trained Language Models

Mutation testing is an established fault-based testing technique. It ope...
research
02/05/2021

Mutant reduction evaluation: what is there and what is missing?

Background. Many mutation reduction strategies, which aim to reduce the ...
research
01/13/2023

Mutation Testing of Deep Reinforcement Learning Based on Real Faults

Testing Deep Learning (DL) systems is a complex task as they do not beha...

Please sign up or login with your details

Forgot password? Click here to reset