package ounit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OUnit testing framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
ounit-v2.1.2.tbz
sha256=39e69102dbf646f00da12cb7332df4f64c9aab732b5f664a1e6b3c0729f94e33
sha512=6b1dcc0252003407aa284446fab8469ab7c4ba6b08bf511ddb0870067c8182d48a220401722c081d81318deb069000fd2d7553abd9616156c4ccb3ff255c50f7
Description
OUnit is a unit test framework for OCaml. It allows one to easily create unit-tests for OCaml code. It is loosely based on [HUnit], a unit testing framework for Haskell. It is similar to [JUnit], and other XUnit testing frameworks.
Published: 23 Sep 2019
README
OUnit - xUnit testing framework for OCaml
OUnit is a unit test framework for OCaml. It allows one to easily create unit-tests for OCaml code. It is loosely based on HUnit, a unit testing framework for Haskell. It is similar to JUnit, and other XUnit testing frameworks.
Installation
The recommended way to install ounit is via the opam package manager:
$ opam install ounitDocumentation
API documentation is available online.
Examples
From the examples/ directory of ounit:
External projects:
Dependencies (5)
- stdlib-shims
- base-unix
- base-bytes
-
dune
>= "1.11.0" -
ocaml
>= "4.02.3" & < "5.0"
Dev Dependencies
None
-
0install
< "2.17" -
0install-gtk
< "2.17" -
asn1-combinators
< "0.2.5" - bap-stub-resolver
- bap-veri
-
bencode
>= "2.0" - binbin
-
bisect_ppx
< "2.0.0" - bitcoinml
-
bitstring
< "4.0.0" - bson2
-
caldav
< "0.2.3" - camelsnakekebab
-
camlp5
>= "8.00.02" & < "8.02.01" - camltc
-
capnp
< "3.6.0" - cconv-ppx
-
cfstream
>= "1.3.1" -
choice
>= "0.4" -
cohttp-async
< "6.0.0" -
cohttp-curl-async
< "6.1.0" -
cohttp-lwt-unix
< "6.0.0" -
containers
< "3.8" -
containers-data
< "3.9" -
containers-thread
< "3.9" -
crc
< "2.2.0" - crdt-ml
- cryptohash
-
ctypes
< "0.21.1" -
debian-formats
< "0.1.2" -
decoders-bencode
< "1.0.0" -
decoders-cbor
< "1.0.0" -
decoders-ezjsonm
< "1.0.0" -
decoders-jsonm
< "1.0.0" -
decoders-msgpck
< "1.0.0" -
decoders-sexplib
< "1.0.0" -
decoders-yojson
< "1.0.0" -
devkit
< "1.20210120" -
diet
!= "0.2" -
dispatch
< "0.4.1" -
dlm
< "0.3.3" -
dns
= "1.1.3" -
dose3
>= "6.1" - dose3-extra
-
dtoa
< "0.3.3" -
edn
< "0.2.0" - enumerators
-
expect
< "0.1.0" - extprot
-
extunix
< "0.3.1" -
fileutils
< "0.6.4" - flock
- fluent-logger
-
freetds
>= "0.5.2" -
gettext
< "0.5.0" -
gettext-camomile
< "0.5.0" -
gettext-stub
< "0.5.0" - gobject-introspection
-
hamt
< "1.0.0" -
ISO8601
>= "0.2.6" -
inotify
< "2.3" -
io-page
>= "2.4.0" - io-page-unix
-
ipaddr
< "5.6.0" - irc-client
-
irc-client-lwt
< "0.6.2" -
irc-client-tls
< "0.6.2" -
irc-client-unix
< "0.6.2" - jhupllib
- jingoo
-
junit_ounit
< "2.1.0" -
key-parsers
>= "0.10.1" - kicadsch
- lambda
-
lambdasoup
>= "0.6.2" & < "0.7.2" -
lens
>= "1.1.0" -
letsencrypt
< "1.0.0" -
leveldb
< "1.3.0" -
libevent
>= "0.8.1" - lilac
-
llvm
>= "3.7" & < "15.0.7+nnp-2" -
lz4
< "1.2.0" -
macaddr
< "5.6.0" -
markup
< "1.0.0-1" - mel
- melange
- memcad
- memcpy
-
mirage-block-unix
= "2.12.1" -
mirage-crypto
< "0.10.7" -
mirage-crypto-rng
< "0.10.7" - mirage-tc
- mkaudio
-
mock-ounit
< "1.0.0" - modular-arithmetic
- msgpack
-
mssql
< "2.0.3" -
mustache
< "3.2.0" - mvar
-
nbd
< "4.0.3" - nmea
- nocrypto
- noise
- oasis2debian
- oasis2opam
-
obeam
< "0.1.1" -
ocaml-xdg-basedir
< "transition" - ocamlapi
-
ocamlmod
< "0.1.1" -
ocolor
= "1.3.0" - odash
- ofx
- opti
- oraft
-
orm
>= "0.7.1" -
orsetto
< "1.0.3" - osc
- osc-lwt
- osc-unix
-
ounit-lwt
< "2.2.0" - pa_ppx
- pa_ppx_ag
-
pa_ppx_hashcons
< "0.11" -
pa_ppx_migrate
< "0.11" - pa_ppx_string
-
pa_ppx_unique
< "0.11" - pb
- pb-plugin
-
pcap-format
>= "0.5.2" - pci-db
-
pds-reachability
>= "0.2.2" -
pgocaml
>= "2.3" & < "4.0" -
pgsolver
< "4.4" -
pgx
< "1.0" -
pgx_async
< "1.0" -
pgx_unix
< "1.0" - phonetic
- pkcs11
- pkcs11-driver
-
posix-getopt
< "2.0.0" - ppx_bitstring
-
ppx_const
< "2.0" - ppx_cstruct
-
ppx_deriving
< "5.2" - ppx_deriving_argparse
-
ppx_deriving_protobuf
< "3.0.0" - ppx_deriving_variant_string
-
ppx_deriving_yojson
< "3.7.0" - ppx_factory
-
ppx_getenv
< "2.0" - ppx_import
-
ppx_monoid
>= "0.3.2" -
ppx_protocol_conv
< "5.0.0" -
ppx_protocol_conv_json
< "5.0.0" -
ppx_protocol_conv_jsonm
< "5.0.0" -
ppx_protocol_conv_msgpack
< "5.0.0" -
ppx_protocol_conv_xml_light
< "5.0.0" -
ppx_protocol_conv_yaml
< "5.0.0" -
ppx_yojson
< "1.1.0" - qbf
-
qcheck
< "0.13" -
qcheck-ounit
< "0.17" -
qcow
>= "0.10.2" - qcow-tool
-
qtest
< "2.11.1" -
range
>= "0.8.3" - rdbg
-
re
>= "1.7.2" & < "1.12.0" - records
-
redis-lwt
= "0.4" -
redis-sync
= "0.4" - rfc6287
- rfc7748
- riak
- rlp
-
secp256k1
= "0.4.0" - semver2
-
session
>= "0.2.0" -
sha
>= "1.12" & < "1.15.1" - shared-memory-ring
- shared-memory-ring-lwt
- shared-secret
- sid
- slacko
-
sodium
>= "0.6.0" - spotify-web-api
- sqlgg
- sslconf
- stitch
- stringext
- subtype-refinement
-
tdk
>= "0.2.0" -
tls
< "0.12.8" -
toml
< "7.0.0" - touist
- traildb
- unix-type-representations
-
uri
< "4.4.0" -
uri-re
< "4.4.0" -
uri-sexp
< "4.4.0" - uritemplate
-
uwt
< "0.3.3" -
vchan
< "6.0.2" -
vhd-format-lwt
< "0.12.3" -
vlq
< "0.2.1" - webmachine
- wikitext
-
x509
< "0.7.0" - xen-evtchn-unix
-
xenstore_transport
= "1.3.0" - zeit
- zxcvbn
Conflicts (1)
-
ounit2
!= version
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page