package alcotest
Alcotest is a lightweight and colourful test framework
Install
Dune Dependency
Authors
Maintainers
Sources
alcotest-js-1.5.0.tbz
sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c
sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45
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
module Types = struct type bound = [ `Unlimited | `Limit of int ] type filter = name:string -> index:int -> [ `Run | `Skip ] type t = < 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 > type 'a with_options = ?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 -> '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 : and_exit:bool -> record_backtrace:bool -> 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 end val apply_defaults : default_log_dir:string -> User.t -> t end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>