package speed

  1. Overview
  2. Docs
Speed - go fast by writing test first

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.0.tar.gz
md5=a455964b16c60eec12b8cb258b09fa2b
sha512=e60ac7dc9038ab3e2d2c5cd84729c9e04b722de52329b1de61dd15a1d274e1dc71dc11e0f0d033e6602ae0cee9e8d7baabd19f3918aa3c61e63c14ef0c90e606

doc/speed/Speed_domain/Sync/index.html

Module Speed_domain.SyncSource

Sourcemodule Dom : sig ... end
Sourcetype test_result = SyncTestResult.t
Sourcetype !'a test_function = 'a test_input -> test_result
Sourcetype !'a example = 'a Make(SyncTestResult).example = {
  1. name : string;
  2. focus : bool;
  3. metadata : Metadata.t list;
  4. f : 'a test_function;
}
Sourcetype !'a t = 'a Make(SyncTestResult).t = {
  1. name : string option;
  2. child_groups : 'a child_suite list;
  3. metadata : Metadata.t list;
  4. examples : 'a example list;
  5. has_focused : bool;
}
Sourceand !'a child_suite = 'a Make(SyncTestResult).child_suite =
  1. | Child : {
    1. child : 'b t;
    2. setup : 'a0 test_input -> 'b;
    } -> 'a0 child_suite
  2. | Context : {
    1. child : 'a1 t;
    } -> 'a1 child_suite
Sourceval empty : 'a Dom.t
Sourceval make_suite : ?name:string -> ?metadata:Metadata.t list -> unit -> 'a Dom.t
Sourceval make : string -> 'a Dom.t
Sourceval add_example : ?focus:bool -> ?metadata:Metadata.t list -> string -> 'a Dom.test_function -> 'a Dom.t -> 'a Dom.t
Sourceval add_child : 'a Dom.child_suite -> 'a Dom.t -> 'a Dom.t
Sourceval add_child_group : 'a Dom.t -> 'a Dom.t -> 'a Dom.t
Sourceval add_child_group_with_setup : setup:('a test_input -> 'b) -> 'b Dom.t -> 'a Dom.t -> 'a Dom.t
Sourceval add_fixture : ?name:string -> ?metadata:Metadata.t list -> setup:('a test_input -> 'b) -> ('c Dom.t -> 'b Dom.t) -> 'a Dom.t -> 'a Dom.t
Sourceval add_context : ?metadata:Metadata.t list -> string -> ('a Dom.t -> 'b Dom.t) -> 'b Dom.t -> 'b Dom.t
Sourceval get_example_count : 'a Dom.t -> int
Sourceval child_group_count : 'a Dom.t -> int
OCaml

Innovation. Community. Security.