Something went wrong. Try again.
An adversarial testing framework for OCaml HTTP/1.1 clients and servers
Something went wrong. Try again.
123456789101112131415161718192021(** Managed request-server fixture executor. *)
val run : net:[> [> `Generic ] Eio.Net.ty ] Eio.Resource.t -> clock:_ Eio.Time.clock -> process_mgr:[> [> `Generic ] Eio.Process.mgr_ty ] Eio.Resource.t -> server:string -> command:string list -> ?ready_timeout:float -> ?case_timeout:float -> ?cases:Server_profile.case list -> ?selected_tags:string list -> unit -> Server_profile.report(** [run ~net ~clock ~process_mgr ~server ~command ?ready_timeout ?case_timeout ?cases ?selected_tags ()] starts [command], reads its fixture readiness line, runs [cases], stops the process, and returns the checked report. [cases] defaults to the complete request-server corpus. [selected_tags] records the filter used to produce that selection. [ready_timeout] defaults to five seconds. [case_timeout] defaults to one second. *)