package ounit2

  1. Overview
  2. Docs
OUnit testing framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

doc/ounit2.advanced/OUnitRunner/GenericWorker/index.html

Module OUnitRunner.GenericWorkerSource

Build worker based runner.

Sourcetype message_to_worker =
  1. | Exit
  2. | AckLock of bool
  3. | RunTest of OUnitTest.path
Sourceval string_of_message_to_worker : message_to_worker -> string
Sourcetype message_from_worker =
  1. | AckExit
  2. | Log of OUnitTest.log_event_t
  3. | Lock of int
  4. | Unlock of int
  5. | TestDone of OUnitTest.result_full * OUnitTest.result_list
Sourceval string_of_message_from_worker : message_from_worker -> string
Sourcemodule MapPath : sig ... end
Sourcetype ('a, 'b) channel = {
  1. send_data : 'a -> unit;
  2. receive_data : unit -> 'b;
  3. close : unit -> unit;
}
Sourceval wrap_channel : string -> ('a -> string) -> ('b -> string) -> ('b, 'a) channel -> ('b, 'a) channel
Sourceval main_worker_loop : yield:(unit -> 'a) -> shard_id:string -> worker_log_file:bool -> OUnitConf.conf -> worker_channel -> map_test_cases -> unit
Sourcetype 'a worker = {
  1. channel : (message_to_worker, message_from_worker) channel;
  2. close_worker : unit -> string option;
  3. select_fd : 'a;
  4. shard_id : string;
  5. is_running : unit -> bool;
}
Sourcetype 'a worker_creator = shard_id:string -> master_id:string -> worker_log_file:bool -> OUnitConf.conf -> map_test_cases -> 'a worker
Sourcetype 'a workers_waiting_selector = timeout:float -> 'a worker list -> 'a worker list
OCaml

Innovation. Community. Security.