• Cite Icon3
  • https://doi.org/10.22028/d291-26149Copy DOI Icon

Assessing test quality

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

When developing tests, one is interested in creating tests of good quality that thoroughly test the program. This work shows how to assess test quality through mutation testing with impact metrics, and through checked coverage. Although there a different aspects that contribute to a test’s quality, the most important factor is its ability to reveal defects, because software testing is usually carried out with the aim to detect defects. For this purpose, a test has to provide inputs that execute the defective code under such conditions that it causes an infection. This infection has to propagate and result in a failure, which can be detected by a check of the test. In the past, the aspect of test input quality has been extensively studied while the quality of checks has received less attention. The traditional way of assessing the quality of a test suite’s checks is mutation testing. Mutation testing seeds artificial defects (mutations) into a program, and checks whether the tests detect them. While this technique effectively assesses the quality of checks, it also has two drawbacks. First, it places a huge demand on computing resources. Second, equivalent mutants, which are mutants that are semantically equivalent to the original program, dilute the quality of the results. In this work, we address both of these issues. We present the JAVALANCHE framework that applies several optimizations to enable automated and efficient mutation testing for real-life programs. Furthermore, we address the problem of equivalent mutants by introducing impact metrics to detect non-equivalent mutants. Impact metrics compare properties of tests suite runs on the original program with runs on mutated versions, and are based on abstractions over program runs such as dynamic invariants, covered statements, and return values. The intention of these metrics is that mutations that have a graver influence on the program run are more likely to be non-equivalent. Moreover, we introduce checked coverage, an alternative approach to measure the quality of a test suite’s checks. Checked coverage determines the parts of the code that were not only executed, but that actually contribute to the results checked by the test suite, by computing dynamic backward slices from all explicit checks of the test suite.

Similar Papers
  • Conference Article
  • Citations14

Evaluating the Effects of Compiler Optimizations on Mutation Testing at the Compiler IR Level

  • Oct 01, 2016
  • Farah Hariri +4
  • Research Article
  • Citations2

Introduction to the special issue on Mutation Testing

  • Aug 01, 2015
  • Software Testing, Verification and Reliability
  • Yue Jia +2
  • Research Article
  • Citations2

Toward Improving the Quality of Mutation Operator and Test Case Effectiveness in Higher-Order Mutation Testing

  • Jul 20, 2022
  • Vietnam Journal of Computer Science
  • Van-Nho Do +2
  • Research Article
  • Citations1

Enhancing Mutation Testing Efficiency: A Comparative Study of Machine Learning Models for Equivalent Mutant Identification

  • May 01, 2025
  • Software Testing, Verification and Reliability
  • Terrence Pugh +5
  • PDF
  • Book Chapter
  • Citations14

Mutation-Based Test Generation for PLC Embedded Software Using Model Checking

  • Jan 01, 2016
  • Eduard P Enoiu +4
  • PDF
  • Research Article
  • Citations33

On the Effectiveness of Using Elitist Genetic Algorithm in Mutation Testing

  • Sep 09, 2019
  • Symmetry
  • Shweta Rani +2
  • Conference Article
  • Citations61

Code Defenders: A Mutation Testing Game

  • Apr 01, 2016
  • Jose Miguel Rojas +1
  • Research Article
  • Citations44

Mitigating the effects of equivalent mutants with mutant classification strategies

  • May 27, 2014
  • Science of Computer Programming
  • Mike Papadakis +2
  • PDF
  • Conference Article
  • Citations3

Applying Mutation Testing for Assessing Test Suites Quality at Model Level

  • Oct 02, 2016
  • Joanna Strug
  • Conference Article
  • Citations5

Augmenting Equivalent Mutant Dataset Using Symbolic Execution

  • Apr 01, 2022
  • Seungjoon Chung +1
  • Conference Article
  • Citations4

A Comparative Study of Whole Issues and Challenges in Mutation Testing

  • Feb 01, 2019
  • Negar Nazem Bokaei +1
  • Conference Article
  • Citations6

Control Oriented Mutation Testing for Detection of Potential Software Bugs

  • Dec 01, 2012
  • Muhammad Bilal Bashir +1
  • Conference Article
  • Citations7

Goal-oriented mutation testing with focal methods

  • Nov 05, 2018
  • Sten Vercammen +3
  • Research Article
  • Citations5

DRLMutation: A Comprehensive Framework for Mutation Testing in Deep Reinforcement Learning Systems

  • Mar 07, 2025
  • ACM Transactions on Software Engineering and Methodology
  • Jiapeng Li +4
  • Conference Article
  • Citations13

A Preliminary Investigation into Using Machine Learning Algorithms to Identify Minimal and Equivalent Mutants

  • Aug 05, 2020
  • Claudinei Brito +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.