package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-v2.2.3.tbz
sha256=e280a64aa7df64bd7335c9ed68a70d6ee168b39ae8bbfb6daedd2f4a04844ad9
sha512=dff04859d263e5f80a1606156d07493d0320a2756d0a7f134c63c53078550c7b056587486922bc66a288413af30c59a7e47157636502c6dd10626cf75587f981

doc/ounit2.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 * running in parallel. Moreover we cannot use Unix.fork because it's not * portable

Sourceval unix_fork : (unit -> int) ref
Sourceval make_channel : string -> ('a -> string) -> ('b -> string) -> Unix.file_descr -> Unix.file_descr -> ('b, 'a) OUnitRunner.GenericWorker.channel
Sourceval processes_grace_period : float OUnitConf.var
Sourceval processes_kill_period : float OUnitConf.var
Sourceval select_no_interrupt : Unix.file_descr list -> Unix.file_descr list -> Unix.file_descr list -> float -> Unix.file_descr list * Unix.file_descr list * Unix.file_descr list
Sourceval create_worker : shard_id:string -> master_id:string -> worker_log_file:bool -> OUnitConf.conf -> OUnitRunner.GenericWorker.map_test_cases -> Unix.file_descr OUnitRunner.GenericWorker.worker
Sourceval init : unit -> unit
OCaml

Innovation. Community. Security.