package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-2.2.7.tbz
sha256=90f6e63bd1240a51d8b9b2f722059bd79ce00b5276bdd6238b8f5c613c0e7388
sha512=53463e5b1b5a40f424e19f5f6a86338a544079600d1fd121ffc1a6fcaa239630194018faf91ccf360ba40b1b2a8b01cf491935e014c68d2947f6e027a2f0a0f9

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.