package qcheck-lin

  1. Overview
  2. Docs
A multicore testing library for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.10.tar.gz
md5=ed5980f1cfbfa1e2d2ec5a87954dddf8
sha512=90c451903adb7cbd83aa0f2ad7738d662edc23affb669ed762564cdb2e140ca931afeaabc199fbb6028163fc41c17049961bef7fd2664c677cb1df552d10736d

doc/qcheck-lin.thread/Lin_thread/Make/index.html

Module Lin_thread.MakeSource

Functor to build a module for concurrent testing

Parameters

module Spec : Lin.Spec

Signature

Sourceval lin_test : count:int -> name:string -> QCheck.Test.t

lin_test ~count:c ~name:n builds a concurrent test with the name n that iterates c times. The test fails if one of the generated programs is not sequentially consistent. In that case it fails, and prints a reduced counter example.

Sourceval neg_lin_test : count:int -> name:string -> QCheck.Test.t

neg_lin_test ~count:c ~name:n builds a negative concurrent test with the name n that iterates c times. The test fails if no counter example is found, and succeeds if a counter example is indeed found, and prints it afterwards.