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/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.