package ounit

  1. Overview
  2. Docs
OUnit testing framework

Install

Dune 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 ounit

Documentation

API documentation is available online.

Examples

Dependencies (5)

  1. stdlib-shims
  2. base-unix
  3. base-bytes
  4. dune >= "1.11.0"
  5. ocaml >= "4.02.3" & < "5.0"

Dev Dependencies

None

  1. 0install < "2.17"
  2. 0install-gtk < "2.17"
  3. alcotest < "0.4.0"
  4. amf
  5. arakoon < "1.8.6" | >= "1.9.17"
  6. asn1-combinators >= "0.1.3" & < "0.2.2"
  7. aws-s3 < "4.0.0"
  8. baardskeerder >= "0.5.2"
  9. bap-stub-resolver
  10. bap-veri
  11. beluga < "0.8"
  12. bencode >= "2.0"
  13. binbin
  14. biocaml = "0.4.0"
  15. bisect_ppx >= "1.0.0" & < "2.0.0"
  16. bitcoinml >= "0.3.0"
  17. bitstring >= "3.0.0" & < "4.0.0"
  18. bson2
  19. bulletml
  20. caldav < "0.2.3"
  21. camelsnakekebab
  22. camlp5 >= "8.00" & < "8.00.05"
  23. camltc
  24. capnp >= "3.0.0" & < "3.6.0"
  25. caradoc
  26. cconv-ppx
  27. cfstream = "1.2.3" | >= "1.3.1"
  28. channel
  29. charrua-client = "0.9"
  30. charrua-client-lwt < "0.10"
  31. charrua-client-mirage < "0.10"
  32. choice >= "0.4"
  33. cohttp < "1.0.0"
  34. cohttp-async
  35. cohttp-curl-async
  36. cohttp-curl-lwt
  37. cohttp-lwt-unix
  38. cohttp-lwt-unix-nossl
  39. cohttp-lwt-unix-ssl
  40. containers >= "2.0" & < "3.8"
  41. containers-data < "3.9"
  42. containers-thread < "3.9"
  43. core < "109.19.00"
  44. cow < "2.0.0"
  45. crc < "2.2.0"
  46. crdt-ml
  47. cryptohash
  48. cstruct >= "1.1.0" & < "3.0.1" | >= "3.1.0" & < "3.3.0"
  49. ctypes < "0.2.3" | >= "0.7.0" & < "0.21.1"
  50. debian-formats < "0.1.2"
  51. decoders-bencode < "1.0.0"
  52. decoders-cbor < "1.0.0"
  53. decoders-ezjsonm < "1.0.0"
  54. decoders-jsonm < "1.0.0"
  55. decoders-msgpck < "1.0.0"
  56. decoders-sexplib < "1.0.0"
  57. decoders-yojson < "1.0.0"
  58. devkit < "1.20210120"
  59. diet != "0.2"
  60. dispatch < "0.4.1"
  61. distributed < "0.5.0"
  62. dlm < "0.3.3"
  63. dns >= "0.13.0" & < "1.0.0" | = "1.1.3"
  64. dose3 >= "6.1"
  65. dose3-extra
  66. dtoa < "0.3.3"
  67. easy_xlsx
  68. edn >= "0.1.2-1-g09b142a" & < "0.2.0"
  69. email_message >= "113.24.00" & < "v0.10.0"
  70. enumerators
  71. expect
  72. extprot >= "1.2.0"
  73. extunix < "0.3.1"
  74. fat-filesystem >= "0.10.1" & < "0.12.0"
  75. fileutils < "0.6.4"
  76. flock
  77. fluent-logger >= "1.1.0"
  78. freetds >= "0.5.2"
  79. frenetic < "5.0.0"
  80. functoria < "2.2.0"
  81. gapi-ocaml >= "0.3.4" & < "0.4.3"
  82. gettext
  83. gettext-camomile
  84. gettext-stub
  85. git = "1.4.10"
  86. gobject-introspection
  87. google-drive-ocamlfuse < "0.7.29"
  88. hamt < "1.0.0"
  89. http_router
  90. humane-re < "0.1.0"
  91. ISO8601 >= "0.2.6"
  92. inotify >= "2.1" & < "2.3"
  93. io-page < "2.0.0" | >= "2.4.0"
  94. io-page-unix >= "2.0.0"
  95. iocaml-kernel
  96. ipaddr >= "2.6.0" & < "5.3.1"
  97. ipaddr-sexp < "5.3.1"
  98. irc-client
  99. irc-client-lwt < "0.6.2"
  100. irc-client-tls < "0.6.2"
  101. irc-client-unix < "0.6.2"
  102. iso-filesystem
  103. jhupllib
  104. jingoo
  105. junit_ounit
  106. key-parsers >= "0.3.0" & != "0.9.2"
  107. kicadsch
  108. lambda
  109. lambdasoup >= "0.6.2" & < "0.7.2"
  110. lens >= "1.1.0"
  111. letsencrypt < "1.0.0"
  112. leveldb < "1.3.0"
  113. libevent >= "0.8.1"
  114. libres3
  115. lilac
  116. llvm >= "3.6" & < "15.0.7+nnp-2"
  117. loga < "0.0.5"
  118. lz4 >= "1.1.0" & < "1.2.0"
  119. m17n
  120. macaddr < "5.3.1"
  121. macaddr-sexp < "5.3.1"
  122. markup < "1.0.0"
  123. mbr-format < "1.0.0"
  124. mel
  125. melange
  126. memcad
  127. memcpy
  128. message-switch < "1.4.0"
  129. mirage-block < "1.0.0"
  130. mirage-block-ccm < "1.1.0"
  131. mirage-block-unix < "2.11.1" | >= "2.12.0" & < "2.13.0"
  132. mirage-bootvar-xen = "0.3.2"
  133. mirage-crypto < "0.10.6"
  134. mirage-crypto-pk < "0.10.6"
  135. mirage-crypto-rng < "0.10.6"
  136. mirage-flow < "1.2.0"
  137. mirage-fs-unix >= "1.2.0" & < "1.3.0"
  138. mirage-net-unix < "2.3.0"
  139. mirage-tc
  140. missinglib
  141. mkaudio
  142. ml2mxml
  143. mock-ounit < "1.0.0"
  144. modular-arithmetic
  145. mqtt < "0.2.2"
  146. msgpack >= "1.3.0"
  147. mssql < "2.0.3"
  148. mustache < "1.0.0" | >= "2.0.0" & < "3.0.0" | = "3.1.0"
  149. mvar
  150. nbd >= "2.0.1" & < "4.0.3"
  151. nebula
  152. nmea
  153. nocrypto >= "0.5.0"
  154. noise
  155. nunchaku >= "0.5.1"
  156. oasis < "0.3.0"
  157. oasis2debian >= "0.1.4"
  158. oasis2opam >= "0.6.0"
  159. obeam < "0.1.1"
  160. obigstore
  161. ocaml-markdown < "transition"
  162. ocaml-xdg-basedir < "transition"
  163. ocaml-zmq
  164. ocamlapi
  165. ocamllint
  166. ocamlmod >= "0.0.7"
  167. ocolor = "1.3.0"
  168. odash
  169. ofx
  170. opam-query >= "1.3"
  171. open_packaging
  172. openflow >= "0.8.0"
  173. opium >= "0.12.0" & < "0.15.0"
  174. opti
  175. oraft
  176. orm >= "0.7.1"
  177. orsetto < "1.0.3"
  178. osc
  179. osc-lwt
  180. osc-unix
  181. ounit-lwt < "2.2.0"
  182. pa_ounit >= "109.10.00"
  183. pa_ppx >= "0.07"
  184. pa_ppx_ag
  185. pa_ppx_hashcons < "0.10"
  186. pa_ppx_migrate < "0.10"
  187. pa_ppx_q_ast < "0.11"
  188. pa_ppx_string
  189. pa_ppx_unique < "0.10"
  190. packet >= "0.4.0"
  191. parse-argv
  192. pb
  193. pb-plugin
  194. pcap-format >= "0.5.0"
  195. pci < "1.0.1"
  196. pci-db
  197. pds-reachability >= "0.2.2"
  198. pgocaml >= "2.3" & < "4.0"
  199. pgsolver
  200. pgx < "1.0"
  201. pgx_async < "1.0"
  202. pgx_unix < "1.0"
  203. phonetic
  204. pkcs11 >= "0.7.0"
  205. pkcs11-driver
  206. posix-getopt < "2.0.0"
  207. ppx_bitstring >= "1.2.0" & < "2.0.0" | >= "4.0.0"
  208. ppx_const < "2.0"
  209. ppx_cstruct >= "3.1.0"
  210. ppx_deriving >= "1.0" & < "5.2"
  211. ppx_deriving_argparse
  212. ppx_deriving_hardcaml < "v0.12.0"
  213. ppx_deriving_morphism
  214. ppx_deriving_protobuf < "3.0.0"
  215. ppx_deriving_variant_string
  216. ppx_deriving_yojson < "3.7.0"
  217. ppx_enum
  218. ppx_factory
  219. ppx_getenv < "2.0"
  220. ppx_hardcaml < "v0.17.0"
  221. ppx_import
  222. ppx_monoid >= "0.3.2"
  223. ppx_protocol_conv >= "2.0.0" & < "5.0.0"
  224. ppx_protocol_conv_json >= "3.1.0" & < "5.0.0"
  225. ppx_protocol_conv_jsonm < "5.0.0"
  226. ppx_protocol_conv_msgpack >= "3.1.0" & < "5.0.0"
  227. ppx_protocol_conv_xml_light >= "3.1.0" & < "5.0.0"
  228. ppx_protocol_conv_yaml >= "3.1.0" & < "5.0.0"
  229. ppx_sqlexpr
  230. ppx_yojson < "1.1.0"
  231. qbf
  232. qcheck >= "0.5" & < "0.9"
  233. qcheck-ounit < "0.14"
  234. qcow != "0.10.0"
  235. qcow-format
  236. qcow-tool
  237. qtest < "2.11.1"
  238. range >= "0.8.3"
  239. rdbg >= "1.65"
  240. re >= "1.7.2" & < "1.12.0"
  241. records
  242. redis-lwt = "0.4"
  243. redis-sync = "0.4"
  244. rfc6287
  245. rfc7748
  246. riak
  247. rlp
  248. rubytt
  249. secp256k1 = "0.4.0"
  250. semver2
  251. session >= "0.2.0"
  252. sha >= "1.12" & < "1.15.1"
  253. shared-block-ring < "3.0.0"
  254. shared-memory-ring
  255. shared-memory-ring-lwt
  256. shared-secret
  257. sid
  258. slacko >= "0.13.0"
  259. socialpeek
  260. sodium >= "0.6.0"
  261. spotify-web-api
  262. spreadsheetml
  263. sqlexpr >= "0.7.1" & < "0.9.0"
  264. sqlgg >= "0.2.5"
  265. sslconf
  266. stitch
  267. stringext >= "1.2.0"
  268. subtype-refinement
  269. swdogen
  270. tar-format >= "0.2.0"
  271. tar-mirage < "2.0.0"
  272. tcpip >= "3.0.0" & < "3.3.0"
  273. tdk >= "0.2.0"
  274. tls >= "0.6.0" & < "0.11.0"
  275. toml >= "5.0.0" & < "7.0.0"
  276. topology >= "0.4.0"
  277. touist
  278. traildb
  279. tuntap = "1.0.0" | >= "1.4.1" & < "2.0.1"
  280. ucorelib
  281. unix-type-representations
  282. uri < "1.3.0" | >= "1.8.0" & < "4.4.0"
  283. uri-re < "4.4.0"
  284. uri-sexp < "4.4.0"
  285. uritemplate
  286. uwt < "0.3.3"
  287. vchan >= "2.0.0" & < "6.0.2"
  288. vchan-unix < "6.0.2"
  289. vchan-xen < "6.0.2"
  290. vhd-format < "0.9.1"
  291. vhd-format-lwt < "0.12.3"
  292. vhd-tool < "0.12.0"
  293. vlq < "0.2.1"
  294. webmachine
  295. wikitext
  296. x509 >= "0.4.0" & < "0.7.0"
  297. xapi-idl
  298. xapi-rrd < "1.8.2"
  299. xapi-rrdd
  300. xen-api-client
  301. xen-evtchn < "2.0.0"
  302. xen-evtchn-unix
  303. xen-gnt < "2.2.0" | = "2.2.3"
  304. xenstore != "1.2.5" & < "2.2.0"
  305. xenstore_transport >= "1.3.0"
  306. zeit
  307. zmq < "4.0-7"
  308. zxcvbn

Conflicts (1)

  1. ounit2 != version
OCaml

Innovation. Community. Security.