Trustworthy Systems

The Cogent case for property-based testing


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


UNSW Sydney


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

    address          = {Shanghai, China},
    author           = {Chen, Zilin and O'Connor, Liam and Keller, Gabriele and Klein, Gerwin and Heiser, Gernot},
    booktitle        = {Workshop on Programming Languages and Operating Systems (PLOS)},
    date             = {2017-10-28},
    doi              = {},
    isbn             = {9781450351539},
    month            = oct,
    pages            = {1-7},
    paperurl         = {},
    publisher        = {ACM},
    title            = {The {Cogent} Case for Property-Based Testing},
    year             = {2017}