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.7.tbz
sha256=90f6e63bd1240a51d8b9b2f722059bd79ce00b5276bdd6238b8f5c613c0e7388
sha512=53463e5b1b5a40f424e19f5f6a86338a544079600d1fd121ffc1a6fcaa239630194018faf91ccf360ba40b1b2a8b01cf491935e014c68d2947f6e027a2f0a0f9
doc/ounit2.advanced/OUnitState/index.html
Module OUnitStateSource
Manipulate the state of OUnit runner.
Source
type 'worker next_test_case_t = | Not_enough_worker| Try_again| Next_test_case of OUnitTest.path * OUnitTest.test_fun * 'worker| Finished
Source
type 'worker test_running = {test_length : OUnitTest.test_length;deadline : time;next_health_check : time;worker : 'worker;
}Source
type 'worker t = {tests_planned : (OUnitTest.path * (OUnitTest.test_length * OUnitTest.test_fun)) list;tests_running : (OUnitTest.path * 'worker test_running) list;tests_passed : (OUnitTest.result_full * OUnitTest.result_list) list;idle_workers : 'worker list;chooser : OUnitChooser.chooser;cache : OUnitCache.cache;health_check_interval : time;
}Source
val create :
OUnitConf.conf ->
OUnitChooser.chooser ->
(OUnitTest.path * OUnitTest.test_length * OUnitTest.test_fun) list ->
'a tSource
val add_test_results :
OUnitConf.conf ->
(OUnitTest.result_full * OUnitTest.result_list) ->
'a t ->
'a tSource
val test_finished :
OUnitConf.conf ->
(OUnitTest.result_full * OUnitTest.result_list) ->
'a ->
'a t ->
'a tSource
val next_test_case :
OUnitConf.conf ->
(OUnitTest.path, OUnitTest.result) OUnitLogger.logger ->
'a t ->
'a next_test_case_t * 'a tGet all the results.
Get all the workers that need to be checked for their health.
Update the activity of a worker, this postpone the next health check.
Get all the workers that are timed out, i.e. that need to be stopped.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>