Test cases as a measurement instrument in experimentation

Oscar Dieste, Fernando Uyaguari, Sira Vegas, Natalia Juristo
11/9/2021
cs.SE

Official code: GRISE-UPM/TestSuitesMeasurement (0 stars, TeX, last commit 2025-10-01).

Abstract

Background: Test suites are frequently used to quantify relevant software attributes, such as quality or productivity. Problem: We have detected that the same response variable, measured using different test suites, yields different experiment results.

Show full abstract

Aims: Assess to which extent differences in test case construction influence measurement accuracy and experimental outcomes. Method: Two industry experiments have been measured using two different test suites, one generated using an ad-hoc method and another using equivalence partitioning. The accuracy of the measures has been studied using standard procedures, such as ISO 5725, Bland-Altman and Interclass Correlation Coefficients. Results: There are differences in the values of the response variables up to +-60%, depending on the test suite (ad-hoc vs. equivalence partitioning) used. Conclusions: The disclosure of datasets and analysis code is insufficient to ensure the reproducibility of SE experiments. Experimenters should disclose all experimental materials needed to perform independent measurement and re-analysis.

View on arXivView PDF

Code Implementations(1)

How test cases may affect response variable measurement in TDD experiments: an empirical study

00TeX, JavaOct 1, 20251 years ago

Similar Papers

Cite this paper

@article{dieste2021test,
  title  = {Test cases as a measurement instrument in experimentation},
  author = {Oscar Dieste and Fernando Uyaguari and Sira Vegas and Natalia Juristo},
  year   = {2021},
  eprint = {2111.05287},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.05287}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.05287.svg)](https://codeofpaper.com/paper/2111.05287)

Discussion