Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
An alias of the above API that provides a stability guarantees over major version changes.
include Alcotest_engine.V1.Cli.S with type return = unit Lwt.t
type return = unit Lwt.t
type !'a test_case = string * speed_level * ('a -> return)
type !'a test = string * 'a test_case list
type !'a with_options =
?and_exit:bool ->
?verbose:bool ->
?compact:bool ->
?tail_errors:[ `Limit of int | `Unlimited ] ->
?quick_only:bool ->
?show_errors:bool ->
?json:bool ->
?filter:(name:string -> index:int -> [ `Run | `Skip ]) ->
?log_dir:string ->
?bail:bool ->
?record_backtrace:bool ->
?ci:Alcotest_engine__.Config.ci ->
'a
val run :
(?argv:string array -> string -> unit test list -> return) with_options
val run_with_args :
(?argv:string array ->
string ->
'a Cmdliner.Term.t ->
'a test list ->
return)
with_options
val test_case :
string ->
Alcotest.speed_level ->
(Lwt_switch.t -> 'a -> unit Lwt.t) ->
'a test_case
val test_case_sync :
string ->
Alcotest.speed_level ->
('a -> unit) ->
'a test_case