OUnitChooser
Heuristic to pick a test to run.
type t = {
tests_planned : OUnitTest.path list;
tests_running : OUnitTest.path list;
tests_passed : OUnitTest.result_list;
cache : OUnitCache.cache;
}
type choice =
| ChooseToSkip of OUnitTest.path
| ChooseToPostpone
| Choose of OUnitTest.path
| NoChoice
val string_of_choice : choice -> string
module Plugin : sig ... end
include module type of struct include Plugin end
val all : (int * (OUnitPlugin.name * chooser)) list ref
val register : OUnitPlugin.name -> int -> chooser -> unit
val of_name : OUnitPlugin.name -> chooser
val choice : OUnitConf.conf -> OUnitPlugin.name * chooser
val preset :
(OUnitPlugin.name * OUnitPlugin.name) list ->
(OUnitPlugin.name * OUnitPlugin.name) list