We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Programming Languages

Title: QuickerCheck: Implementing and Evaluating a Parallel Run-Time for QuickCheck

Abstract: This paper introduces a new parallel run-time for QuickCheck, a Haskell library and EDSL for specifying and randomly testing properties of programs. The new run-time can run multiple tests for a single property in parallel, using the available cores. Moreover, if a counterexample is found, the run-time can also shrink the test case in parallel, implementing a parallel search for a locally minimal counterexample.
Our experimental results show a 3--9$\times$ speed-up for testing QuickCheck properties on a variety of heavy-weight benchmark problems. We also evaluate two different shrinking strategies; deterministic shrinking, which guarantees to produce the same minimal test case as standard sequential shrinking, and greedy shrinking, which does not have this guarantee but still produces a locally minimal test case, and is faster in practice.
Comments: 12 pages, IFL 2023
Subjects: Programming Languages (cs.PL)
ACM classes: D.3.3
Cite as: arXiv:2404.16062 [cs.PL]
  (or arXiv:2404.16062v1 [cs.PL] for this version)

Submission history

From: Robert Kent Krook [view email]
[v1] Wed, 17 Apr 2024 11:15:51 GMT (2435kb,D)

Link back to: arXiv, form interface, contact.