Skip to main navigation Skip to search Skip to main content

Etna: An Evaluation Platform for Property-Based Testing (Experience Report)

  • University of Pennsylvania
  • University of Maryland, College Park

Research output: Contribution to journalArticlepeer-review

10 Scopus citations

Abstract

Property-based testing is a mainstay of functional programming, boasting a rich literature, an enthusiastic user community, and an abundance of tools - so many, indeed, that new users may have difficulty choosing. Moreover, any given framework may support a variety of strategies for generating test inputs; even experienced users may wonder which are better in a given situation. Sadly, the PBT literature, though long on creativity, is short on rigorous comparisons to help answer such questions. We present Etna, a platform for empirical evaluation and comparison of PBT techniques. Etna incorporates a number of popular PBT frameworks and testing workloads from the literature, and its extensible architecture makes adding new ones easy, while handling the technical drudgery of performance measurement. To illustrate its benefits, we use Etna to carry out several experiments with popular PBT approaches in both Coq and Haskell, allowing users to more clearly understand best practices and tradeoffs.

Original languageEnglish
Article number218
JournalProceedings of the ACM on Programming Languages
Volume7
Issue numberICFP
DOIs
StatePublished - Aug 30 2023

Keywords

  • empirical evaluation
  • mutation testing
  • property-based testing

Fingerprint

Dive into the research topics of 'Etna: An Evaluation Platform for Property-Based Testing (Experience Report)'. Together they form a unique fingerprint.

Cite this