package ounit2
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OUnit testing framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
ounit-2.2.6.tbz
sha256=0690fb1e0e90a18eed5c3566b3cc1825d98b0e8c7d51bb6b846c95c45a615913
sha512=d7cb36a1fe245d02afab606cd1ee755a178ee4cb18fbbfec1df32baa88fa90ef6c9a50d9fd5bde46c7fd9c481f2debe4bafac75c4e3bdfbdb63fc18b0ccce3cc
doc/ounit2.advanced/OUnitTest/index.html
Module OUnitTest
type path = node listSee OUnit.mli.
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.
type result_full = path * result * OUnitLogger.position optiontype result_list = result_full listtype log_event_t = (path, result) OUnitLogger.log_event_ttype logger = (path, result) OUnitLogger.loggertype 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;
}type test_fun = ctxt -> unitval delay_of_length : test_length -> floatval get_shard_id : ctxt -> stringIsolate a function inside a context. All the added tear down will run before returning.
val with_ctxt :
OUnitConf.conf ->
logger ->
OUnitShared.shared ->
result_full list ref ->
path ->
(ctxt -> 'a) ->
'aCreate a context and run the function.
val result_full_of_exception :
ctxt ->
exn ->
path * result * OUnitLogger.position optionTransform 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.
val test_case_count : test -> intval string_of_node : node -> stringmodule Path : sig ... endmodule MapPath : sig ... endval string_of_path : node list -> stringmodule SetTestPath : sig ... endval test_filter : ?skip:bool -> SetTestPath.elt list -> test -> test option sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>