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.7.tar.gz
sha256=ebd4c8edf0107e378ca2aebb876e217b8a9e9ae7d6b1263207a924cf32e425c6
md5=852bc74596501e79969eea522e1ae99e

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.