CAREER: Mitigating Flaky Tests

职业:减少不稳定的测试

基本信息

  • 批准号:
    2145774
  • 负责人:
  • 金额:
    $ 59.02万
  • 依托单位:
  • 依托单位国家:
    美国
  • 项目类别:
    Continuing Grant
  • 财政年份:
    2022
  • 资助国家:
    美国
  • 起止时间:
    2022-07-01 至 2027-06-30
  • 项目状态:
    未结题

项目摘要

This award is funded in whole or in part under the American Rescue Plan Act of 2021 (Public Law 117-2). Software’s increasing impact on daily life means there is a need high quality, correct software. The most common approach to check for software correctness is through software testing. The implicit assumption is that a failing test signals the presence of a bug. However, this fundamental assumption is invalidated by the presence of flaky tests, which are tests that nondeterministically pass or fail when run on the same code. Intuitively, there is a nondeterministic component in the code under test or environment that is expected or even desired (and therefore not a true bug in the software), but a developer may have written a flaky test that does not take this nondeterminism into account, resulting in the test to sometimes pass and sometimes fail. When there are flaky tests in the test suite, a developer can no longer trust their test results. If the test failures no longer guarantee the presence of a true bug, developers may then choose to ignore all test outcomes instead of investigating further. At this point, testing become effectively useless, and developers risk critical bugs slipping into the released software. Flaky tests are a common problem faced by developers in industry and the open-source community. The goal of this project is to mitigate the negative effects of flaky tests. To accomplish this goal, this project will (1) develop techniques to more efficiently detect flaky tests by leveraging code evolution, (2) develop specialized testing environments that can reduce flaky test failures without needing to modify code under test, and (3) enhance software engineering techniques that rely on testing to become flaky-test aware so as to not be misled by unreliable test failures. Beyond traditional flaky tests, this project will also (4) investigate and develop techniques to detect and repair tests that are flaky with respect to nonfunctional properties, such as execution time. Finally, given the parallels between flaky tests and difficulties in computational reproducibility, this project will also (5) develop techniques to increase the reproducibility of computational research results based on insights from the work on flaky tests.This award reflects NSF's statutory mission and has been deemed worthy of support through evaluation using the Foundation's intellectual merit and broader impacts review criteria.
该奖项全部或部分根据2021年美国救援计划法案(公法117-2)资助。软件对日常生活的影响越来越大,这意味着需要高质量,正确的软件。检查软件正确性的最常见方法是通过软件测试。隐含的假设是,失败的测试表明存在bug。然而,这个基本假设被重复测试的存在所否定,重复测试是在同一代码上运行时不确定地通过或失败的测试。直觉上,在被测代码或环境中有一个非确定性组件,这是预期的,甚至是期望的(因此不是软件中真正的bug),但是开发人员可能已经编写了一个不确定性测试,没有考虑这种非确定性,导致测试有时通过,有时失败。当测试套件中存在重复测试时,开发人员就不能再信任它们的测试结果。如果测试失败不再保证存在真正的bug,开发人员可能会选择忽略所有测试结果,而不是进一步调查。在这一点上,测试变得毫无用处,开发人员冒着关键错误滑入发布的软件的风险。脆弱的测试是工业界和开源社区开发人员面临的一个常见问题。该项目的目标是减轻反倾销测试的负面影响。为了实现这一目标,该项目将(1)通过利用代码进化来开发更有效地检测漏洞测试的技术,(2)开发可以减少漏洞测试失败而无需修改测试代码的专用测试环境,以及(3)增强依赖于测试的软件工程技术,以变得具有漏洞测试意识,从而不会被不可靠的测试失败所误导。除了传统的可测试性测试之外,这个项目还将(4)研究和开发技术来检测和修复在非功能属性(如执行时间)方面被测试的测试。最后,考虑到可重复性测试和计算再现性困难之间的相似性,该项目还将(5)基于可重复性测试工作的见解,开发提高计算研究结果再现性的技术。该奖项反映了NSF的法定使命,并通过使用基金会的智力价值和更广泛的影响审查标准进行评估,被认为值得支持。

项目成果

期刊论文数量(1)
专著数量(0)
科研奖励数量(0)
会议论文数量(0)
专利数量(0)
Evolution-aware detection of order-dependent flaky tests
顺序相关片状测试的进化感知检测
{{ item.title }}
{{ item.translation_title }}
  • DOI:
    {{ item.doi }}
  • 发表时间:
    {{ item.publish_year }}
  • 期刊:
  • 影响因子:
    {{ item.factor }}
  • 作者:
    {{ item.authors }}
  • 通讯作者:
    {{ item.author }}

数据更新时间:{{ journalArticles.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ monograph.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ sciAawards.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ conferencePapers.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ patent.updateTime }}

August Shi其他文献

FlakeSync: Automatically Repairing Async Flaky Tests
FlakeSync:自动修复异步片状测试
Optimizing Continuous Development by Detecting and Preventing Unnecessary Content Generation
通过检测和防止不必要的内容生成来优化持续开发

August Shi的其他文献

{{ item.title }}
{{ item.translation_title }}
  • DOI:
    {{ item.doi }}
  • 发表时间:
    {{ item.publish_year }}
  • 期刊:
  • 影响因子:
    {{ item.factor }}
  • 作者:
    {{ item.authors }}
  • 通讯作者:
    {{ item.author }}

{{ truncateString('August Shi', 18)}}的其他基金

SHF: Small: Software Testing Cognizant of Just-in-time Compilers
SHF:小型:了解即时编译器的软件测试
  • 批准号:
    2217696
  • 财政年份:
    2022
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Standard Grant

相似海外基金

CAREER: Mitigating the Lack of Labeled Training Data in Machine Learning Based on Multi-level Optimization
职业:基于多级优化缓解机器学习中标记训练数据的缺乏
  • 批准号:
    2339216
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Continuing Grant
Domino - Computational Fluid Dynamics Modelling of Ink Droplet Breakup for Mitigating Mist Formation during inkjet printing
Domino - 墨滴破碎的计算流体动力学模型,用于减轻喷墨打印过程中的雾气形成
  • 批准号:
    10090067
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Collaborative R&D
Improving females' health and performance by mitigating heat strain
通过缓解热应激改善女性的健康和表现
  • 批准号:
    MR/X036235/1
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Fellowship
Collaborative Research: AF: Medium: Algorithms Meet Machine Learning: Mitigating Uncertainty in Optimization
协作研究:AF:媒介:算法遇见机器学习:减轻优化中的不确定性
  • 批准号:
    2422926
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Continuing Grant
Collaborative Research: Leveraging the interactions between carbon nanomaterials and DNA molecules for mitigating antibiotic resistance
合作研究:利用碳纳米材料和 DNA 分子之间的相互作用来减轻抗生素耐药性
  • 批准号:
    2307222
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Standard Grant
Mitigating the Influence of Social Bots in Heterogeneous Social Networks
减轻异构社交网络中社交机器人的影响
  • 批准号:
    DP240100181
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Discovery Projects
Collaborative Research: Leveraging the interactions between carbon nanomaterials and DNA molecules for mitigating antibiotic resistance
合作研究:利用碳纳米材料和 DNA 分子之间的相互作用来减轻抗生素耐药性
  • 批准号:
    2307223
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Standard Grant
IMPLEMENTATION: Shifting Culture and Mitigating Inequities in Landscape Ecology Through a Collaborative Network of Professional Societies
实施:通过专业协会的合作网络转变文化并减轻景观生态学中的不平等
  • 批准号:
    2335225
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Standard Grant
CAREER: Strengthening the Theoretical Foundations of Federated Learning: Utilizing Underlying Data Statistics in Mitigating Heterogeneity and Client Faults
职业:加强联邦学习的理论基础:利用底层数据统计来减轻异构性和客户端故障
  • 批准号:
    2340482
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Continuing Grant
Temporary Pacing Leads - Scoping and Mitigating Environmental Impact
临时起搏导联 - 界定和减轻环境影响
  • 批准号:
    10086805
  • 财政年份:
    2024
  • 资助金额:
    $ 59.02万
  • 项目类别:
    Collaborative R&D
{{ showInfoDetail.title }}

作者:{{ showInfoDetail.author }}

知道了