Test Set Diameter: Quantifying the Diversity of Sets of Test Cases
Not on the map. Why?
Abstract (arXiv)
A common and natural intuition among software testers is that test cases need to differ if a software system is to be tested properly and its quality ensured. Consequently, much research has gone into formulating distance measures for how test cases, their inputs and/or their outputs differ. However, common to these proposals is that they are data type specific and/or calculate the diversity only between pairs of test inputs, traces or outputs. We propose a new metric to measure the diversity of sets of tests: the test set diameter (TSDm). It extends our earlier, pairwise test diversity metrics based on recent advances in information theory regarding the calculation of the normalized compression distance (NCD) for multisets. An advantage is that TSDm can be applied regardless of data type and on any test-related information, not only the test inputs. A downside is the increased computational time compared to competing approaches. Our experiments on four different systems show that the test set diameter can help select test sets with higher structural and fault coverage than random selection even when only applied to test inputs. This can enable early test design and selection, prior to even having a software system to test, and complement other types of test automation and analysis. We argue that this quantification of test set diversity creates a number of opportunities to better understand software quality and provides practical ways to increase it.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Jun 2015.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 1; 2023: 3; 2024: 1; 2025: 1; 2026: 1.
10 papers.
- 2021Black-Box Testing of Deep Neural Networks Through Test Case Diversitycited by 18
- 2023Towards Autonomous Testing Agents via Conversational Large Language Modelscited by 13
- 2023DeepGD: A Multi-Objective Black-Box Test Selection Approach for Deep Neural Networkscited by 11
- 2021Learning How to Search: Generating Effective Test Cases Through Adaptive Fitness Function Selectioncited by 4
- 2022Test2Vec: An Execution Trace Embedding for Test Case Prioritizationcited by 3
- 2023Reasoning-Based Software Testingcited by 1
- 2024Can Search-Based Testing with Pareto Optimization Effectively Cover Failure-Revealing Test Inputs?cited by 1
- 2025Adaptive Testing for LLM-Based Applications: A Diversity-based Approachcited by 1
- 2021Automated Support for Unit Test Generation: A Tutorial Book Chaptercited by 0
- 2026Search-based Testing of Vision Language Models for In-Car Scene Understandingcited by 0
- 2026Search-based Testing of Vision Language Models for In-Car Scene Understanding2 Jul 2026
- 2025Adaptive Testing for LLM-Based Applications: A Diversity-based Approach23 Jan 2025
- 2024Can Search-Based Testing with Pareto Optimization Effectively Cover Failure-Revealing Test Inputs?15 Oct 2024
- 2023Towards Autonomous Testing Agents via Conversational Large Language Models8 Jun 2023
- 2023DeepGD: A Multi-Objective Black-Box Test Selection Approach for Deep Neural Networks8 Mar 2023
- 2023Reasoning-Based Software Testing2 Mar 2023
- 2022Test2Vec: An Execution Trace Embedding for Test Case Prioritization28 Jun 2022
- 2021Black-Box Testing of Deep Neural Networks Through Test Case Diversity20 Dec 2021
- 2021Automated Support for Unit Test Generation: A Tutorial Book Chapter26 Oct 2021
- 2021Learning How to Search: Generating Effective Test Cases Through Adaptive Fitness Function Selection9 Feb 2021