package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-v2.2.4.tbz
sha256=b5c069a5d957220ca0669e945f1e81e6b6db9622766d860913e136e1168e3345
sha512=d69dc501a360c31f7854322b5e2c2abcb1e43890737e1cc00c167ee104d5dee471b6b8d8186f8044b0482c91a8f15210a25d833a1e03ed7baabfba923815962f

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.