What is the Vocabulary of Flaky Tests? An Extended Replication

B. H. P. Camara, M. A. G. Silva, A. T. Endo, S. R. Vergilio
3/23/2021
cs.SEcs.AI

Official code: bhpachulski/ICPC-RENE-Paper (2 stars, Jupyter Notebook, CC-BY-SA-4.0, last commit 2021-08-19).

Abstract

Software systems have been continuously evolved and delivered with high quality due to the widespread adoption of automated tests. A recurring issue hurting this scenario is the presence of flaky tests, a test case that may pass or fail non-deterministically.

Show full abstract

A promising, but yet lacking more empirical evidence, approach is to collect static data of automated tests and use them to predict their flakiness. In this paper, we conducted an empirical study to assess the use of code identifiers to predict test flakiness. To do so, we first replicate most parts of the previous study of Pinto~et~al.~(MSR~2020). This replication was extended by using a different ML Python platform (Scikit-learn) and adding different learning algorithms in the analyses. Then, we validated the performance of trained models using datasets with other flaky tests and from different projects. We successfully replicated the results of Pinto~et~al.~(2020), with minor differences using Scikit-learn; different algorithms had performance similar to the ones used previously. Concerning the validation, we noticed that the recall of the trained models was smaller, and classifiers presented a varying range of decreases. This was observed in both intra-project and inter-projects test flakiness prediction.

View on arXivView PDF

Code Implementations(1)

CC-BY-SA-4.0

This is the experimental package of paper entitled "What is the Vocabulary of Flaky Tests? An Extended Replication" that was ​submitted for publication in ICPC 2021 - Replications and Negative Results (RENE).

23Jupyter Notebook, PythonMar 17, 20215 years agoCC-BY-SA-4.0
flaky-testsmachine-learningregression-testingsoftware-engineering

Similar Papers

Cite this paper

@article{camara2021what,
  title  = {What is the Vocabulary of Flaky Tests? An Extended Replication},
  author = {B. H. P. Camara and M. A. G. Silva and A. T. Endo and S. R. Vergilio},
  year   = {2021},
  eprint = {2103.12670},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.12670}
}

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/2103.12670.svg)](https://codeofpaper.com/paper/2103.12670)

Discussion