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.5.tar.gz
sha256=c04a53bfab11789a3d333d2a4fb16cdfaa71e2f8fb34edfc6a93b3e85f1fcd68
md5=dbda9f8a5afe33461f638c2cc0a9e8f6

doc/oUnit.advanced/OUnitAssert/index.html

Module OUnitAssertSource

Sourceval skip_if : bool -> string -> unit
Sourceval todo : string -> 'a
Sourceval assert_failure : string -> 'a
Sourceval assert_bool : string -> bool -> unit
Sourceval assert_string : string -> unit
Sourceval assert_equal : ?ctxt:OUnitTest.ctxt -> ?cmp:('a -> 'a -> bool) -> ?printer:('a -> string) -> ?pp_diff:(Format.formatter -> ('a * 'a) -> unit) -> ?msg:string -> 'a -> 'a -> unit
Sourceval assert_command : ?exit_code:Unix.process_status -> ?sinput:char Stream.t -> ?foutput:(char Stream.t -> unit) -> ?use_stderr:bool -> ?backtrace:bool -> ?chdir:string -> ?env:string array -> ctxt:OUnitTest.ctxt -> string -> string list -> unit
Sourceval raises : (unit -> 'a) -> exn option
Sourceval assert_raises : ?msg:string -> exn -> (unit -> 'a) -> unit
OCaml

Innovation. Community. Security.