课题基金 / 基金详情

Test FLARE (Test Flakiness Automated Reproduction and Explanation)

Test FLARE (Test Flakiness Automated Reproduction and Explanation)
测试 FLARE(测试片状自动再现和解释)
批准号:
EP/X024539/1
负责人:
Philip McMinn
金额:
$69.35万
依托单位:
依托单位国家:
英国
项目类别:
Research Grant
财政年份:
2023
资助国家:
英国
项目状态:
未结题
起止时间:
2023 至 --

项目摘要

项目成果

Philip McMinn的其他基金

相似基金

相关文献

中文摘要
翻译
点击翻译按钮获取中文摘要
英文摘要
The cost of software failures is a huge burden to the worldwide economy that was estimated to be at least £1.3 trillion in 2017. Consequently, software testing, a vital defence against failures, contributes to a large proportion of software development effort and cost. Flaky tests are a particular strain on resources allocated to software development, because they intermittently pass and fail without changes to tests or project code, with often maddening, non-obvious causes. Flaky tests are tests that fundamentally do not always tell the truth: they can fail when code is working, and pass when it isn't. Because developers can no longer trust the results of their tests, they are unable to gain confidence that software is working correctly, potentially exposing end-users to the consequences of software failures. Flaky tests are a common occurrence in industry, significantly disrupting software development - even for companies with the greatest amount of resources to tackle them, such as Microsoft, Facebook, and Google.A test can produce different pass/fail (i.e., flaky) outcomes because of differing, unpredicted ways that the execution environment in which it runs interacts with its behaviour and/or the code that it tests. For instance, a machine may be experiencing a heavy concurrent task load, causing it to execute tests slowly, sometimes triggering timeouts in the code under test, and sometimes not. Or, network access is erratic on the testing infrastructure, meaning the availability of network resources may be compromised. Or, a program under test's logic is time and date dependent. These are just a few real examples of the different ways in which tests can be flaky. For some environmental conditions, the test passes, but in an alternative context, the same test fails.To remove flaky test behaviour, a developer has to modify test code or the code that it tests to control for aspects of its execution environment; i.e., the potential sources of its intermittent behaviour. But to accurately assess the differences in code execution behaviour and the places in the code that need to be changed, a developer must be able to reliably reproduce the differing pass/fail test outcomes. However, this not only involves recreating the environmental conditions that lead to the flaky behaviour, but also figuring out exactly what the environmental conditions were that caused the flakiness in the first place. Solving these issues and reproducing flaky tests manually can be extremely challenging for developers since the environmental conditions concerned (a) are intermittent; and (b) may be unrelated to anything the test is actually checking, and/or far-removed from the code being tested. Existing research techniques are insufficient for addressing these problems, and despite developer incentives for removing flakiness, Google, for instance, reports an astonishing one in seven tests as flaky.What the Test FLARE Project Will Do: The Test FLARE project will develop and empirically evaluate techniques capable of (1) automatically reproducing flaky behaviour that is due to the execution environment. It will also provide developers with (2) automated, human-readable explanations that help developers further understand the reasons for the flaky behaviour.
期刊论文(0)
专著(0)
科研奖励(0)
会议论文
RE-PRESENT: Automatic Repair of Presentation Failures in Web Applications
  • 批准号:
    EP/T015764/1
  • 项目类别:
    Research Grant
  • 资助金额:
    $3.54万
  • 财政年份:
    2020
  • 负责人:
    Philip McMinn
  • 依托单位:
RE-COST: REducing the Cost of Oracles for Software Testing
  • 批准号:
    EP/I010386/1
  • 项目类别:
    Research Grant
  • 资助金额:
    $38.55万
  • 财政年份:
    2011
  • 负责人:
    Philip McMinn
  • 依托单位:
Automated Discovery of Emergent Misbehaviour
  • 批准号:
    EP/G009600/1
  • 项目类别:
    Research Grant
  • 资助金额:
    $30.8万
  • 财政年份:
    2009
  • 负责人:
    Philip McMinn
  • 依托单位:
国内基金
海外基金
长效GnRHa“flare-up”效应通过AMPK通路抑制子宫腺肌症患者卵泡发育的机制
  • 批准号:
    81801418
  • 项目类别:
    青年科学基金项目
  • 资助金额:
    21.0万元
  • 批准年份:
    2018
  • 负责人:
    陆小溦
  • 依托单位: