paperbot · PL 论文追踪

全部论文 待读 收藏

P2 FlakiMe

FlakiMe:测试不稳定性评估与实验平台
ICSE Proceedings of the 44th International Conference on Software Engineering2022匹配度 2/10 · 该论文研究测试波动性(flaky test)对变异测试和程序修复的影响,属于软件测试与修复领域,但未涉及用户核心关注的静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析。引用 16 inbox
Maxime Cordy, Renaud Rwemalika, Adriano Franci, Mike Papadakis, Mark Harman
crossref: 2026-09-12

AI 速览

一句话:提出 FlakiMe 平台,可向测试套件行为中注入可控程度的不稳定性,以实验评估 flaky test 对测试技术的影响。

软件测试研究常假定失败是确定性的,但 flaky test 的非确定性结果会干扰结论。为调查 flakiness,论文提出 FlakiMe 平台,可向测试套件行为注入可控程度的不稳定性,支持实验室受控实验。作者用它评估 flakiness 对变异测试和程序修复(PRAPR、ARJA)的影响:10% 不稳定性足以影响变异得分,但效应量较小(2%–5%);却使修复产生的补丁数下降 20% 至 100% 的修复问题。结果表明不同测试应用受 flakiness 影响差异巨大,因而需要可控评估平台。

问题
软件测试研究常隐含假设测试失败是确定性的,但 flaky test 的非确定性结果会使该假设不成立,并可能影响测试技术评估。
方法
提出 FlakiMe 评估与实验平台,可向给定测试套件行为中播种可控程度的不稳定性,以便在实验室受控条件下研究 flakiness 的影响。
评估
用 FlakiMe 评估 flakiness 对变异测试及程序修复方法 PRAPR、ARJA 的影响,发现 10% 不稳定性会小幅影响变异得分(2%–5%),却使修复产生补丁数量下降 20%–100%,且不同应用受影响差异显著。
原文摘要(Abstract)

Much research on software testing makes an implicit assumption that test failures are deterministic such that they always witness the presence of the same defects. However, this assumption is not always true because some test failures are due to so-called flaky tests, i.e., tests with non-deterministic outcomes. To help testing researchers better investigate flakiness, we introduce a test flakiness assessment and experimentation platform, called FlakiMe. FlakiMe supports the seeding of a (controllable) degree of flakiness into the behaviour of a given test suite. Thereby, FlakiMe equips researchers with ways to investigate the impact of test flakiness on their techniques under laboratory-controlled conditions. To demonstrate the application of FlakiMe, we use it to assess the impact of flakiness on mutation testing and program repair (the PRAPR and ARJA methods). These results indicate that a 10% flakiness is sufficient to affect the mutation score, but the effect size is modest (2% - 5% ), while it reduces the number of patches produced for repair by 20% up to 100% of repair problems; a devastating impact on this application of testing. Our experiments with FlakiMe demonstrate that flakiness affects different testing applications in very different ways, thereby motivating the need for a laboratory-controllable flakiness impact assessment platform and approach such as FlakiMe.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot6953,
  title = {FlakiMe},
  author = {Maxime Cordy and Renaud Rwemalika and Adriano Franci and Mike Papadakis and Mark Harman},
  booktitle = {ICSE},
  year = {2022},
  doi = {10.1145/3510003.3510194}
}