package ounit

  1. Overview
  2. Docs
Unit testing framework loosely based on HUnit. It is similar to JUnit, and other XUnit testing frameworks

Install

Dune Dependency

Authors

Maintainers

Sources

ounit-2.0.8.tar.gz
sha256=2e30fe79648e928b5a9d20f83d5a1a805826c7193e821464a9e4752661ba2e0e
md5=bd12d66c9dbd95a50570bb686b0f10f5

doc/oUnit.advanced/OUnitUtils/index.html

Module OUnitUtilsSource

* Utilities for OUnit * *

  • author Sylvain Le Gall
Sourceval is_blank : char -> bool
Sourceval trim : string -> string
Sourceval trim_comment : string -> string
Sourceval split_lines : string -> string list
Sourceval starts_with : prefix:string -> string -> bool
Sourceval start_substr : prefix:string -> string -> bool * string
Sourceval extract_backtrace_position : string -> (string * int) option list
Sourceval cmp_float : ?epsilon:float -> float -> float -> bool
Sourceval buff_format_printf : (Format.formatter -> 'a) -> string
Sourceval mapi : ('a -> int -> 'b) -> 'a list -> 'b list
Sourceval fold_lefti : ('a -> 'b -> int -> 'a) -> 'a -> 'b list -> 'a
Sourceval now : unit -> float
Sourceval time_fun : ('a -> 'b) -> 'a -> float * 'b
Sourceval date_iso8601 : ?tz:bool -> float -> string
Sourceval buildir : string
Sourceval failwithf : ('a, unit, string, 'b) format4 -> 'a
Sourceval opt : ('a -> unit) -> 'a option -> unit
Sourceval fqdn : unit -> string
Sourceval shardf : int -> string
Sourceval string_of_process_status : Unix.process_status -> string
Sourceval make_counter : unit -> (unit -> ('a * int) list) * ('a -> unit)
OCaml

Innovation. Community. Security.