package alcotest
Alcotest is a lightweight and colourful test framework
Install
Dune Dependency
Authors
Maintainers
Sources
alcotest-1.8.0.tbz
sha256=cba1bd01707c8c55b4764bb0df8c9c732be321e1f1c1a96a406e56d8dbca1d0e
sha512=eebb034c990abd253f526e848a99881686d7bd3c7d1b1d373953d568d062e3d5aaa79b6b4807455aaa9a98710eca4ada30e816a0134717a380619a597575564d
doc/src/alcotest.engine/config_intf.ml.html
Source file config_intf.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
module Types = struct type stdout = Formatters.stdout type stderr = Formatters.stderr type bound = [ `Unlimited | `Limit of int ] type filter = name:string -> index:int -> [ `Run | `Skip ] type ci = [ `Github_actions | `Unknown | `Disabled ] (** All supported Continuous Integration (CI) systems. *) type t = < stdout : stdout ; stderr : stderr ; and_exit : bool ; verbose : bool ; compact : bool ; tail_errors : bound ; quick_only : bool ; show_errors : bool ; json : bool ; filter : filter option ; log_dir : string ; bail : bool ; record_backtrace : bool ; ci : ci > type 'a with_options = ?stdout:stdout -> ?stderr:stderr -> ?and_exit:bool -> ?verbose:bool -> ?compact:bool -> ?tail_errors:bound -> ?quick_only:bool -> ?show_errors:bool -> ?json:bool -> ?filter:filter -> ?log_dir:string -> ?bail:bool -> ?record_backtrace:bool -> ?ci:ci -> 'a end module type Config = sig include module type of Types module User : sig type t (** The type of configurations supplied by the user, with defaults not yet supplied. *) val create : (unit -> t) with_options (** Build a config object with the supplied options. *) val kcreate : (t -> 'a) -> 'a with_options (** Like [create], but passes the constructed config to a continuation rather than returning directly. *) val term : stdout:Formatters.stdout -> stderr:Formatters.stderr -> and_exit:bool -> record_backtrace:bool -> ci:ci -> t Cmdliner.Term.t (** [term] provides a command-line interface for building configs. *) val ( || ) : t -> t -> t (** Merge two configs, with fields from the left taking priority over those in the right. *) (** {2 Accessors} *) val and_exit : t -> bool val record_backtrace : t -> bool val ci : t -> ci val stdout : t -> Formatters.stdout val stderr : t -> Formatters.stderr end val apply_defaults : default_log_dir:string -> User.t -> t end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>