Automated Isolation for White-box Test Generation
D\'avid Honfi, Zolt\'an Micskei

TL;DR
This paper introduces an automated source code transformation technique that isolates dependencies in white-box test generation, improving code coverage and reducing side effects on complex programs.
Contribution
The paper presents a novel automated code transformation approach that isolates dependencies for white-box test generation, enhancing coverage and practicality.
Findings
Increases code coverage in complex programs.
Reduces unwanted side effects during test execution.
Provides a baseline for Microsoft Pex performance on open-source projects.
Abstract
Context. White-box test generation is a technique used for automatically selecting test inputs using only the source or binary code. However, such techniques encounter challenges when applying them to complex programs. One of the main challenges is handling the dependencies of the unit under test. Objective. Without proper actions, generated tests cannot cover all parts of the source code, or calling the dependencies may cause unexpected side effects (e.g., file system or network access). These issues should be tackled while maintaining the advantages of white-box test generation. Method. In this paper, we present an automated source code transformation approach tackling the dependency issue for white-box test generation. This technique isolates the test execution by creating a parameterized sandbox wrapped around the transformed unit. We implemented the approach in a ready-to-use…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
