Lazy generation of canonical test programs

3Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Property-based testing can be a highly effective form of lightweight verification, but it relies critically on the method used to generate test cases. If we wish to test properties of compilers and related tools we need a generator for source programs as test cases. We describe experiments generating functional programs in a core first-order language with algebraic data types. Candidate programs are generated freely over a syntactic representation with positional names. Static conditions for program validity and canonical representatives of large equivalence classes are defined separately. The technique is used to investigate the correctness properties of a program optimisation and two language implementations. © 2012 Springer-Verlag.

Cite

CITATION STYLE

APA

Reich, J. S., Naylor, M., & Runciman, C. (2012). Lazy generation of canonical test programs. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7257 LNCS, pp. 69–84). https://doi.org/10.1007/978-3-642-34407-7_5

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free