package ounit

  1. Overview
  2. Docs
Unit testing framework loosely based on HUnit. It is similar to JUnit, and other XUnit testing frameworks

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-2.0.8.tar.gz
sha256=2e30fe79648e928b5a9d20f83d5a1a805826c7193e821464a9e4752661ba2e0e
md5=bd12d66c9dbd95a50570bb686b0f10f5

doc/oUnit.advanced/OUnitShared/index.html

Module OUnitSharedSource

Sourceexception Lock_failure
Sourcetype scope =
  1. | ScopeGlobal
  2. | ScopeProcess
Sourcetype 'a shared_noscope = {
  1. lock : 'a -> unit;
  2. unlock : 'a -> unit;
  3. try_lock : 'a -> bool;
}
Sourcetype shared = {
  1. global : int shared_noscope;
  2. process : int shared_noscope;
}
Sourceval get_scoped : shared -> scope -> int shared_noscope
Sourceval mutex_create : (unit -> unit shared_noscope) ref
Sourcemodule Mutex : sig ... end
Sourceval noscope_create : unit -> 'a shared_noscope
Sourceval create : unit -> shared
OCaml

Innovation. Community. Security.