On the Use of Mutation in Injecting Test Order-Dependency
Sarra Habchi, Maxime Cordy, Mike Papadakis, Yves Le Traon

TL;DR
This paper proposes a mutation-based approach to inject order-dependency in software tests, creating datasets of flaky tests to aid research on test flakiness and improve testing reliability.
Contribution
It introduces a novel mutation technique to generate flaky tests by deleting helper statements, facilitating the study of test flakiness with larger datasets.
Findings
Effective injection of order-dependency in tests
Generation of new flaky test datasets from Java projects
Potential to improve detection and understanding of flaky tests
Abstract
Background: Test flakiness is identified as a major issue that compromises the regression testing process of complex software systems. Flaky tests manifest non-deterministic behaviour, send confusing signals to developers, and break their trust in test suites. Both industrial reports and research studies highlighted the negative impact of flakiness on software quality and developers' productivity. While researchers strive to devise solutions that could help developers addressing test flakiness, the elaboration and assessment of these solutions are hindered by the lack of datasets large enough to leverage learning techniques. Aim: To address this lack, we conduct an exploratory study that investigates a new mean for producing datasets of flaky tests. Method: We propose an approach that relies on program mutation to inject flakiness in software tests. In particular, we plan to delete…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Software Reliability and Analysis Research
