Spectacular: Finding Laws from 25 Trillion Terms
Paper i proceeding, 2023

We present Spectacular, a new tool for automatically discovering candidate laws for use in property-based testing. By using the recently-developed technique of ECTAs (Equality-Constrained Tree Automata), Spectacular improves upon previous approaches such as QuickSpec: it can explore vastly larger program spaces and start generating candidate laws within 20 seconds from a benchmark where QuickSpec runs for 45 minutes and then crashes (due to memory limits, even on a 256 GB machine). Thanks to the ability of ECTAs to efficiently search constrained program spaces, Spectacular is fast enough to find candidate laws in more generally typed settings than the monomorphized one, even for signatures with dozens of functions.

enumeration

Haskell

QuickCheck

synthesis

properties

ECTAs

test generation

Författare

Matthías Páll Gissurarson

Chalmers, Data- och informationsteknik, Informationssäkerhet

Diego Roque

Dark Forest Technologies

James Koppel

Massachusetts Institute of Technology (MIT)

Proceedings - 2023 IEEE 16th International Conference on Software Testing, Verification and Validation, ICST 2023

293-304
9781665456661 (ISBN)

16th IEEE International Conference on Software Testing, Verification and Validation, ICST 2023
Dublin, Ireland,

Ämneskategorier

Datorsystem

DOI

10.1109/ICST57152.2023.00035

Mer information

Senast uppdaterat

2023-06-30