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 language | English |
|---|---|
| Article number | 218 |
| Journal | Proceedings of the ACM on Programming Languages |
| Volume | 7 |
| Issue number | ICFP |
| DOIs | |
| State | Published - 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
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver