• Cite Icon31
  • https://doi.org/10.1145/3180155.3180203Copy DOI Icon

Fine-grained test minimization

  • May 27, 2018
  • Arash Vahabzadeh +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

As a software system evolves, its test suite can accumulate redundancies over time. Test minimization aims at removing redundant test cases. However, current techniques remove whole test cases from the test suite using test adequacy criteria, such as code coverage. This has two limitations, namely (1) by removing a whole test case the corresponding test assertions are also lost, which can inhibit test suite effectiveness, (2) the issue of partly redundant test cases, i.e., tests with redundant test statements, is ignored. We propose a novel approach for fine-grained test case minimization. Our analysis is based on the inference of a test suite model that enables automated test reorganization within test cases. It enables removing redundancies at the test statement level, while preserving the coverage and test assertions of the test suite. We evaluated our approach, implemented in a tool called Testler, on the test suites of 15 open source projects. Our analysis shows that over 4,639 (24%) of the tests in these test suites are partly redundant, with over 11,819 redundant test statements in total. Our results show that Testler removes 43% of the redundant test statements, reducing the number of partly redundant tests by 52%. As a result, test suite execution time is reduced by up to 37% (20% on average), while maintaining the original statement coverage, branch coverage, test assertions, and fault detection capability.

Similar Papers
  • Report Series
  • Citations14

Fine-Grained Test Minimization

  • Aug 09, 2018
  • EasyChair preprint
  • Arash Vahabzadeh +2
  • Conference Article
  • Citations57

On-demand test suite reduction

  • Jun 01, 2012
  • Dan Hao +4
  • Conference Article
  • Citations7

Checked Coverage and Object Branch Coverage

  • Feb 24, 2015
  • Zalia Shams +1
  • Research Article
  • Citations4

An Efficient Heuristic Based Test Suite Minimization Approach

  • Feb 01, 2017
  • Indian Journal of Science and Technology
  • Fayaz Ahmad Khan +2
  • Research Article
  • Citations1

Measuring Redundancy Score for Test Suite Evaluation by Using Test Cases Matching Approach

  • May 27, 2021
  • Journal of Robotics, Networking and Artificial Life
  • Mochamad Chandra Saputra +5
  • Research Article
  • Citations3

AbstractTrace: The Use of Execution Traces to Cluster, Classify, Prioritize, and Optimize a Bloated Test Suite

  • Nov 29, 2024
  • Applied Sciences
  • Ziad A Al-Sharif +1
  • Research Article
  • Citations11

Adequate vs. inadequate test suite reduction approaches

  • Nov 20, 2019
  • Information and Software Technology
  • Carmen Coviello +5
  • Conference Article
  • Citations5

Test coverage and impact analysis for detecting refactoring faults

  • Apr 13, 2015
  • Everton L G Alves +2
  • Conference Article

A Novel Method for Comparing Test Suites for Developing Reliable Software Applications

  • Oct 01, 2018
  • Masoud Mohammadian +1
  • PDF
  • Research Article
  • Citations1

An Improved Artificial Bee Colony Optimization Algorithm for Test Suite Minimization

  • Jan 01, 2023
  • International Journal of Advanced Computer Science and Applications
  • Neeru Ahuja +1
  • Research Article
  • Citations1

Intelligent evaluation of test suites for developing efficient and reliable software

  • Dec 03, 2019
  • International Journal of Parallel, Emergent and Distributed Systems
  • Masoud Mohammadian +1
  • Book Chapter
  • Citations16

Test Suite Quality for Model Transformation Chains

  • Jan 01, 2011
  • Eduard Bauer +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
  • Research Article
  • Citations16

Empirically evaluating Greedy-based test suite reduction methods at different levels of test suite complexity

  • May 24, 2017
  • Science of Computer Programming
  • Chu-Ti Lin +3
  • Research Article
  • Citations5

Scalable Similarity-Aware Test Suite Minimization with Reinforcement Learning

  • Jan 27, 2025
  • ACM Transactions on Software Engineering and Methodology
  • Sijia Gu +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.