package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/octez-libs.test-helpers/Tezos_test_helpers/Testable/index.html
Module Tezos_test_helpers.Testable
Source
Testable
collects Alcotest.testable
definitions for OCaml base types.
include module type of struct include Alcotest end
type !'a test_case = string * speed_level * ('a -> return)
val test_case : string -> speed_level -> ('a -> return) -> 'a test_case
type !'a test = string * 'a test_case list
type !'a with_options =
?stdout:Alcotest_engine__.Formatters.stdout ->
?stderr:Alcotest_engine__.Formatters.stderr ->
?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
type !'a testable = (module TESTABLE with type t = 'a)
val equal : 'a testable -> 'a -> 'a -> bool
val bool : bool testable
val int : int testable
val int32 : int32 testable
val int64 : int64 testable
val float : float -> float testable
val char : char testable
val string : string testable
val bytes : bytes testable
val unit : unit testable
val pass : 'a testable
val reject : 'a testable
val check : ('a testable -> string -> 'a -> 'a -> unit) extra_info
val check' :
('a testable -> msg:string -> expected:'a -> actual:'a -> unit) extra_info
val fail : (string -> 'a) extra_info
val failf : (('a, Format.formatter, unit, 'b) format4 -> 'a) extra_info
val check_raises : (string -> exn -> (unit -> unit) -> unit) extra_info
val match_raises :
(string -> (exn -> bool) -> (unit -> unit) -> unit) extra_info
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>