A Qualitative Study on the Sources, Impacts, and Mitigation Strategies of Flaky Tests

12/09/2021
by   Sarra Habchi, et al.
0

Test flakiness forms a major testing concern. Flaky tests manifest non-deterministic outcomes that cripple continuous integration and lead developers to investigate false alerts. Industrial reports indicate that on a large scale, the accrual of flaky tests breaks the trust in test suites and entails significant computational cost. To alleviate this, practitioners are constrained to identify flaky tests and investigate their impact. To shed light on such mitigation mechanisms, we interview 14 practitioners with the aim to identify (i) the sources of flakiness within the testing ecosystem, (ii) the impacts of flakiness, (iii) the measures adopted by practitioners when addressing flakiness, and (iv) the automation opportunities for these measures. Our analysis shows that, besides the tests and code, flakiness stems from interactions between the system components, the testing infrastructure, and external factors. We also highlight the impact of flakiness on testing practices and product quality and show that the adoption of guidelines together with a stable infrastructure are key measures in mitigating the problem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/01/2022

Test Flakiness' Causes, Detection, Impact and Responses: A Multivocal Review

Flaky tests (tests with non-deterministic outcomes) pose a major challen...
research
07/20/2022

What Made This Test Flake? Pinpointing Classes Responsible for Test Flakiness

Flaky tests are defined as tests that manifest non-deterministic behavio...
research
10/11/2018

Predictive Test Selection

Change-based testing is a key component of continuous integration at Fac...
research
08/12/2021

Can We Spot Energy Regressions using Developers Tests?

Software Energy Consumption(SEC) is gaining more and more attention. In ...
research
08/05/2019

Testability First!

The pivotal role of testing in high-quality software production has driv...
research
07/28/2021

A Case Study on the Stability of Performance Tests for Serverless Applications

Context. While in serverless computing, application resource management ...
research
03/16/2022

Detecting silent data corruptions in the wild

Silent Errors within hardware devices occur when an internal defect mani...

Please sign up or login with your details

Forgot password? Click here to reset