Skip to main content

TS

The Cogent case for property-based testing

Authors

Zilin Chen, Liam O'Connor, Gabriele Keller, Gerwin Klein and Gernot Heiser

DATA61

University of NSW

Abstract

Property-based testing can play an important role in reducing the cost of formal verification: It has been demonstrated to be effective at detecting bugs and finding inconsistencies in specifications, and thus can eliminate effort wasted on fruitless proof attempts. We argue that in addition, property-based testing enables an incremental approach to a fully verified system, by allowing replacement of automatically generated tests of properties stated in the specification by formal proofs. We demonstrate this approach on the verification of systems code, discuss the implications on systems design, and outline the integration of property-based testing into the Cogent framework.

BibTeX Entry

  @inproceedings{Chen_OKKH_17,
    publisher        = {ACM},
    booktitle        = {9th Workshop on Programming Languages and Operating Systems (PLOS 2017)},
    author           = {Chen, Zilin and O'Connor, Liam and Keller, Gabriele and Klein, Gerwin and Heiser, Gernot},
    month            = oct,
    year             = {2017},
    date             = {2017-10-28},
    title            = {The {Cogent} Case for Property-Based Testing},
    type             = {Conference Paper - Refereed},
    address          = {Shanghai, China}
  }

Download

Served by Apache on Linux on seL4.