Skip to main content


The Cogent case for property-based testing


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


University of NSW


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

    publisher        = {ACM},
    booktitle        = {Workshop on Programming Languages and Operating Systems (PLOS)},
    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},
    pages            = {1-7},
    address          = {Shanghai, China}


Served by Apache on Linux on seL4.