Lam, WingWinter, StefanWei, AnjiangXie, TaoMarinov, DarkoBell, JonathanGrunske, LarsSiegmund, JanetVogelsang, Andreas2022-01-192022-01-192022978-3-88579-714-2https://dl.gi.de/handle/20.500.12116/37970Flaky tests that non-deterministically pass or fail without any code changes constitute an impediment to regression testing. To understand when and how flaky tests can be detected most efficiently, we analyzed the commit histories of known flaky tests. We find that 75% of flaky tests are flaky when added, indicating substantial value for developers to run detectors specifically on newly added tests. The percentage of flaky tests that can be detected early increases to 85% when detectors are run on both newly added and directly modified tests.enFlaky TestsRegression TestingA Large-Scale Longitudinal Study of Flaky TestsText/Conference Paper10.18420/se2022-ws-0181617-5468