package ounit2
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OUnit testing framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
ounit-v2.2.0.tbz
sha256=b6783612c3dbe0cd244cc93d56d9de9d2d43590d79fe6d1b8e6545b0ce2b5a08
sha512=0f51313b85f834172591c8151d94e13c5249365efa506f710f02b34c951182c58bf27244f845ac20f63dedaadbc3574d152549496856aeebdd29447df03b36bf
doc/ounit2.advanced/OUnitTest/index.html
Module OUnitTestSource
See OUnit.mli.
See OUnit2.mli.
Source
type result = | RSuccess| RFailure of string * OUnitLogger.position option * backtrace| RError of string * backtrace| RSkip of string| RTodo of string| RTimeout of test_length
See OUnit.mli.
Source
type ctxt = {conf : OUnitConf.conf;logger : logger;path : path;test_logger : result OUnitLogger.Test.t;mutable tear_down : (ctxt -> unit) list;tear_down_mutex : OUnitShared.Mutex.t;non_fatal : result_full list ref;non_fatal_mutex : OUnitShared.Mutex.t;initial_environment : string array;
}Source
type test = | TestCase of test_length * test_fun| TestList of test list| TestLabel of string * test
Isolate a function inside a context. All the added tear down will run before returning.
Source
val with_ctxt :
OUnitConf.conf ->
logger ->
OUnitShared.shared ->
result_full list ref ->
path ->
(ctxt -> 'a) ->
'aCreate a context and run the function.
Transform an exception in a result.
Isolate a function inside a context, just as !section_ctxt but don't propagate a failure, register it for later.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>