• Home
  • Search
  • CBUA: A Probabilistic, Predictive, and Practical Approach for Evaluating Test Suite Effectiveness
  • Cite Icon16
  • https://doi.org/10.1109/tse.2020.3010361Copy DOI Icon

CBUA: A Probabilistic, Predictive, and Practical Approach for Evaluating Test Suite Effectiveness

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

Knowing the effectiveness of a test suite is essential for many activities such as assessing the test adequacy of code and guiding the generation of new test cases. Mutation testing is a commonly used defect injection technique for evaluating the effectiveness of a test suite. However, it is usually computationally expensive, as a large number of mutants (buggy versions) are needed to be generated from a production code under test and executed against the test suite. In order to reduce the expensive testing cost, recent studies proposed to use supervised models to predict the effectiveness of a test suite without executing the test suite against the mutants. Nonetheless, the training of such a supervised model requires labeled data, which still depends on the costly mutant execution. Furthermore, existing models are based on traditional supervised learning techniques, which assume that the training and testing data come from the same distribution. But, in practice, software systems are subject to considerable concept drifts, i.e., the same distribution assumption usually does not hold. This can lead to inaccurate predictions of a learned supervised model on the target code as time progresses. To tackle these problems, in this paper, we propose a Coverage-Based Unsupervised Approach (CBUA) for evaluating the effectiveness of a test suite. Given a production code under test, the corresponding mutants, and a test suite, CBUA first collects the coverage information of the mutated statements in the target production code under the execution of the test suite. Then, CBUA employs coverage to estimate the probability of each mutant being alive. As such, a mutation score is computed to evaluate the test suite effectiveness and the predicted labels (i.e., killed or alive) are obtained. The whole process only requires a one-time execution of the test suite against the target production code, without involving any mutant execution and any training data. CBUA can ensure the score monotonicity property (i.e., adding test cases to a test suite does not decrease its mutation score), which may be violated by a supervised approach. The experimental results show that CBUA is very competitive with the state-of-the-art supervised approaches in prediction accuracy. In particular, CBUA is shown to be more effective in finding mutants that are covered but not killed by a test suite, which is helpful in identifying the weaknesses in the current test suite and generating new test cases accordingly. Since CBUA is an easy-to-implement approach with a low cost, we suggest that it should be used as a baseline approach for comparison when any novel prediction approach is proposed in future studies.

Similar Papers
  • PDF
  • Research Article
  • Citations10

A Novel Real Coded Genetic Algorithm for Software Mutation Testing

  • Jul 26, 2022
  • Symmetry
  • Deepti Bala Mishra +4
  • Research Article
  • Citations15

How to kill them all: An exploratory study on the impact of code observability on mutation testing

  • Dec 03, 2020
  • Journal of Systems and Software
  • Qianqian Zhu +2
  • Research Article
  • Citations62

On guiding the augmentation of an automated test suite via mutation analysis

  • Aug 21, 2008
  • Empirical Software Engineering
  • Ben H Smith +1
  • Book Chapter
  • Citations2

An Evolutionary Mutation Testing System for Java Programs: eMuJava

  • Jan 01, 2019
  • Muhammad Bilal Bashir +1
  • PDF
  • Preprint Article
  • Citations3

How to kill them all: an exploratory study on the impact of code observability on mutation testing

  • Jun 11, 2019
  • Qianqian Zhu +2
  • Research Article
  • Citations5

Critical components testing using hybrid genetic algorithm

  • Aug 26, 2013
  • ACM SIGSOFT Software Engineering Notes
  • D Jeya Mala +2
  • Conference Article
  • Citations3

A comparison of database fault detection capabilities using mutation testing

  • Sep 19, 2012
  • Donald W Mccormick +2
  • Research Article
  • Citations6

Search-based test case implantation for testing untested configurations

  • Mar 14, 2019
  • Information and Software Technology
  • Dipesh Pradhan +4
  • Research Article
  • Citations3

Predicting higher order mutation score based on machine learning

  • Aug 31, 2023
  • Journal of Information and Telecommunication
  • Van-Nho Do +2
  • Dissertation

Effective test case selection for context-aware applications based on mutation testing and adequacy testing from a context diversity perspective

  • Jan 01, 2013
  • Huai Wang
  • PDF
  • Research Article
  • Citations7

Genetic Algorithm for Test Suite Optimization: An Experimental Investigation of Different Selection Methods

  • Apr 10, 2021
  • Turkish Journal of Computer and Mathematics Education (TURCOMAT)
  • Chetan J Shingadiya Et.Al
  • PDF
  • Research Article
  • Citations14

A Critical Review on Automated Test Case Generation for Conducting Combinatorial Testing Using Particle Swarm Optimization

  • Jul 07, 2018
  • International Journal of Engineering & Technology
  • Dr V Chandra Prakash +3
  • Conference Article
  • Citations6

Comparison study of optimized test suite generation using Genetic and Memetic algorithm

  • Jan 01, 2015
  • Ankita A Mundade +1
  • PDF
  • Research Article
  • Citations1

Multiple-Searching Genetic Algorithm for Whole Test Suites

  • Aug 19, 2021
  • Electronics
  • Wanida Khamprapai +3
  • Conference Article
  • Citations7

Detection of Phishing Webpages Using Heterogeneous Transfer Learning

  • Oct 01, 2017
  • Karl R Weiss +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.