Highly Interactive Testing for Uninterrupted Development Flow

📅 2025-08-04
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
Traditional testing approaches rely on command-line interfaces, operate at coarse granularity, and lack runtime context—causing isolation from highly interactive development environments (HIDEs) and introducing disruptive context switches that exceed developers’ attention thresholds. This paper proposes a runtime-aware testing library that deeply integrates unit testing into HIDEs via three core mechanisms: (1) runtime code instrumentation, (2) dynamic test registration, and (3) a context-aware execution engine. These enable immediate invocation of interactive debugging capabilities—including value inspection and stack trace visualization—upon test failure. The approach achieves sub-second test re-execution with end-to-end response times under the critical 2-second threshold, substantially reducing context-switching overhead and enhancing development continuity and debugging efficiency. Its principal contribution is the first semantic-level coordination mechanism between testing infrastructure and the HIDE toolchain, enabling bidirectional, context-rich interaction between tests and the live development environment.

Technology Category

Machine Learning: Hardware-aware MLReasoning under Uncertainty: Sequential Decision MakingCognitive Modeling & Cognitive Systems: Neural Spike Coding

Application Category

Systems and Infrastructure for Web, Mobile and WoT: Web performance, measurement, and characterizationSecurity and Privacy: Large-scale security measurementsSearch and Retrieval-Augmented AI: Web evaluation methodologies and metrics
📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Traditional testing disrupts flow in interactive development environments
Tests lack runtime context and IDE tool integration
Slow test reexecution breaks developer focus thresholds
Innovation

Methods, ideas, or system contributions that make the work stand out.

Runtime representation for HIDE-integrated tests
Immediate access to debug tools on failure
Subsecond test reexecution maintains focus
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
A
Andrew Tropin
Departament of Blog Posts