arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.02176cs.SEcs.HC
收藏

面向不间断开发流的高交互性测试

Highly Interactive Testing for Uninterrupted Development Flow

Andrew Tropin

AI总结:

针对传统测试方法易打断高交互性开发环境(HIDEs)开发流的问题,本文提出可提供测试运行时表示的库,实现测试与HIDEs紧密集成,达成亚秒级测试重执行以维持开发者专注。

摘要:

高交互性开发环境(HIDEs)通过持续的程序演进与快速的假设验证,可实现不间断的开发流。但传统测试方法通常通过命令行界面(CLI)单独执行,将测试与HIDE的工具(交互式调试器、值与栈检查器等)相隔离,且因执行粒度较粗、缺少运行时上下文而带来干扰性延迟。这种脱节会超出注意力临界阈值,打断开发流。本文提出了一个可为测试提供运行时表示的库,能实现与HIDEs的紧密集成,支持在测试失败场景下立即使用HIDE工具。随后我们描述了经测试增强的开发工作流,并展示了它们如何实现亚秒级的测试重执行时间——这对维持开发者专注力至关重要。

英文摘要:

Highly interactive development environments (HIDEs) enable uninterrupted development flow through continuous program evolution and rapid hypothesis checking. However, traditional testing approaches -- typically executed separately via CLI -- isolate tests from HIDE tooling (interactive debuggers, value and stack inspectors, etc.) and introduce disruptive delays due to coarse execution granularity and lack of runtime context. This disconnect breaks development flow by exceeding critical attention thresholds. In this paper we present a library that provides runtime representation for tests, allowing tight integration with HIDEs, and enabling immediate access to HIDE tooling in the context of test failure. We then describe development workflows enhanced with testing and demonstrate how they achieve subsecond test reexecution times crucial for maintaining developer focus.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑