2023

FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categories and Test Code Repair

Fatima, Sakina, Hemmati, Hadi, Briand, Lionel

Understand

Flaky tests are problematic because they non-deterministically pass or fail for the same software version under test, causing confusion and wasting development effort.

  • While machine learning models have been used to predict flakiness and its root causes, there is much less work on providing support to fix the problem.
  • To address this gap, in this paper, we focus on predicting the type of fix that is required to remove flakiness and then repair the test code on that basis.
  • We do this for a subset of flaky tests where the root cause of flakiness is in the test itself and not in the production code.

Reading the bibliography…