package ounit2
OUnit testing framework
Install
Dune Dependency
Authors
Maintainers
Sources
ounit-v2.2.3.tbz
sha256=e280a64aa7df64bd7335c9ed68a70d6ee168b39ae8bbfb6daedd2f4a04844ad9
sha512=dff04859d263e5f80a1606156d07493d0320a2756d0a7f134c63c53078550c7b056587486922bc66a288413af30c59a7e47157636502c6dd10626cf75587f981
doc/ounit2.advanced/OUnitState/index.html
Module OUnitState
Source
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 t
Source
val add_test_results :
OUnitConf.conf ->
(OUnitTest.result_full * OUnitTest.result_list) ->
'a t ->
'a t
Source
val test_finished :
OUnitConf.conf ->
(OUnitTest.result_full * OUnitTest.result_list) ->
'a ->
'a t ->
'a t
Source
val next_test_case :
OUnitConf.conf ->
(OUnitTest.path, OUnitTest.result) OUnitLogger.logger ->
'a t ->
'a next_test_case_t * 'a t
Get 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)"
>