2021
DOI: 10.1007/978-3-030-81685-8_38
|View full text |Cite
|
Sign up to set email alerts
|

Program Sketching by Automatically Generating Mocks from Tests

Abstract: Sketch is a popular program synthesis tool that solves for unknowns in a sketch or partial program. However, while Sketch is powerful, it does not directly support modular synthesis of dependencies, potentially limiting scalability. In this paper, we introduce Sketcham, a new technique that modularizes a regular sketch by automatically generating mocks—functions that approximate the behavior of complete implementations—from the sketch’s test suite. For example, if the function f originally calls g, Sketcham cr… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2022
2022
2022
2022

Publication Types

Select...
1

Relationship

0
1

Authors

Journals

citations
Cited by 1 publication
(1 citation statement)
references
References 29 publications
(24 reference statements)
0
1
0
Order By: Relevance
“…This approach has been used by Saff et al [8] through system test executions, and Fazzini et al [34] to generate mocks for mobile applications. Bragg et al [60] use the test suite of Sketch programs to generate mocks in order to modularize program synthesis. Mocks have also been generated in the context of cloud computing [61], such as for the emulation of infrastructure by MockFog [15].…”
Section: Mock Generationmentioning
confidence: 99%
“…This approach has been used by Saff et al [8] through system test executions, and Fazzini et al [34] to generate mocks for mobile applications. Bragg et al [60] use the test suite of Sketch programs to generate mocks in order to modularize program synthesis. Mocks have also been generated in the context of cloud computing [61], such as for the emulation of infrastructure by MockFog [15].…”
Section: Mock Generationmentioning
confidence: 99%