package ounit
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.8.tar.gz
sha256=2e30fe79648e928b5a9d20f83d5a1a805826c7193e821464a9e4752661ba2e0e
md5=bd12d66c9dbd95a50570bb686b0f10f5
doc/oUnit.advanced/OUnitRunnerProcesses/index.html
Module OUnitRunnerProcesses
Source
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
Source
val make_channel :
string ->
('a -> string) ->
('b -> string) ->
Unix.file_descr ->
Unix.file_descr ->
('b, 'a) OUnitRunner.GenericWorker.channel
Source
val 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
Source
val workers_waiting :
Unix.file_descr OUnitRunner.GenericWorker.worker list ->
float ->
Unix.file_descr OUnitRunner.GenericWorker.worker list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>