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.5.tar.gz
sha256=c04a53bfab11789a3d333d2a4fb16cdfaa71e2f8fb34edfc6a93b3e85f1fcd68
md5=dbda9f8a5afe33461f638c2cc0a9e8f6

doc/oUnit.advanced/OUnitRunnerProcesses/index.html

Module OUnitRunnerProcessesSource

Use processes to run several tests in parallel. * * Run processes that handle running tests. The processes read test, execute * it, and communicate back to the master the log. * * This need to be done in another process because ocaml Threads are not truly * concurrent. Moreover we cannot use Unix.fork because it's not portable

Sourceval make_channel : string -> ('a -> string) -> ('b -> string) -> Unix.file_descr -> Unix.file_descr -> ('b, 'a) OUnitRunner.GenericWorker.channel
Sourceval processes_grace_period : (int, unit -> unit) Hashtbl.t -> float
Sourceval processes_kill_period : (int, unit -> unit) Hashtbl.t -> float
Sourceval create_worker : (int, unit -> unit) Hashtbl.t -> (OUnitTest.path * 'a * (OUnitTest.ctxt -> 'b)) OUnitRunner.GenericWorker.MapPath.t -> string -> string -> bool -> Unix.file_descr OUnitRunner.GenericWorker.worker
Sourceval workers_waiting : Unix.file_descr OUnitRunner.GenericWorker.worker list -> float -> Unix.file_descr OUnitRunner.GenericWorker.worker list
Sourceval init : unit -> unit
OCaml

Innovation. Community. Security.