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.6.tar.gz
sha256=05966b040aefeb56ae86098bc3fb3c685db07f30dc849e38462f42bd3b61f5d6
md5=9d656662ad5b38dfc6630cc2785d7913

doc/oUnit.advanced/OUnitBracket/index.html

Module OUnitBracketSource

Sourcetype t = (unit -> unit) list
Sourceval create : (OUnitTest.ctxt -> 'a) -> ('a -> OUnitTest.ctxt -> unit) -> OUnitTest.ctxt -> 'a
Sourceval logf : ('a OUnitLogger.test_event -> 'b) -> OUnitLogger.log_severity -> ('c, unit, string, 'b) format4 -> 'c
Sourceval bracket_tmpfile : ?prefix:string -> ?suffix:string -> ?mode:open_flag list -> OUnitTest.ctxt -> string * out_channel
Sourceval bracket_tmpdir : ?prefix:string -> ?suffix:string -> OUnitTest.ctxt -> string
Sourceval chdir_mutex : int * OUnitShared.scope
Sourceval bracket_chdir : string -> OUnitTest.ctxt -> string
Sourceval with_bracket : OUnitTest.ctxt -> (OUnitTest.ctxt -> 'a) -> ('a -> OUnitTest.ctxt -> 'b) -> 'b
OCaml

Innovation. Community. Security.