package alcotest

  1. Overview
  2. No Docs
Alcotest is a lightweight and colourful test framework

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-1.7.0.tbz
sha256=812bacdb34b45e88995e07d7306bdab2f72479ef1996637f1d5d1f41667902df
sha512=4ae1ba318949ec9db8b87bc8072632a02f0e4003a95ab21e474f5c34c3b5bde867b0194a2d0ea7d9fc4580c70a30ca39287d33a8c134acc7611902f79c7b7ce8

Description

Alcotest exposes simple interface to perform unit tests. It exposes a simple TESTABLE module type, a check function to assert test predicates and a run function to perform a list of unit -> unit test callbacks.

Alcotest provides a quiet and colorful output where only faulty runs are fully displayed at the end of the run (with the full logs ready to inspect), with a simple (yet expressive) query language to select the tests to run.

Published: 27 Feb 2023

Dependencies (9)

  1. ocaml-syntax-shims
  2. uutf >= "1.0.1"
  3. stdlib-shims
  4. re >= "1.7.2"
  5. cmdliner >= "1.1.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.05.0"
  9. dune >= "3.0"

Dev Dependencies (2)

  1. odoc with-doc
  2. cmdliner with-test & < "2.0.0"

  1. ahrocksdb
  2. albatross >= "1.5.4"
  3. alcobar
  4. alcotest-async = "1.7.0"
  5. alg_structs_qcheck
  6. algaeff
  7. ambient-context
  8. ambient-context-eio
  9. ambient-context-lwt
  10. angstrom >= "0.7.0"
  11. ansi >= "0.6.0"
  12. anycache >= "0.7.4"
  13. anycache-async
  14. anycache-lwt
  15. arc
  16. archetype >= "1.4.2"
  17. archi
  18. arp
  19. arrakis < "1.1.0"
  20. art
  21. asai
  22. asak >= "0.2"
  23. asli >= "0.2.0"
  24. asn1-combinators >= "0.2.5"
  25. atd >= "2.3.3"
  26. atdgen >= "2.10.0"
  27. atdpy
  28. atdts
  29. avro-simple
  30. backoff
  31. base32
  32. base64 >= "2.1.2" & < "3.2.0" | >= "3.4.0"
  33. bastet
  34. bastet_lwt
  35. bech32
  36. bechamel >= "0.5.0"
  37. bigarray-overlap
  38. bigstringaf
  39. biotk >= "0.4"
  40. bitlib
  41. blake2
  42. bloomf
  43. bls12-381 < "0.4.1" | >= "3.0.0" & < "18.0"
  44. bls12-381-hash
  45. bls12-381-js >= "0.4.2"
  46. bls12-381-js-gen >= "0.4.2"
  47. bls12-381-legacy
  48. bls12-381-signature
  49. bls12-381-unix
  50. blurhash
  51. brisk-reconciler
  52. builder-web
  53. bytebuffer
  54. ca-certs
  55. ca-certs-nss
  56. cachet
  57. cactus
  58. caldav
  59. calendar >= "3.0.0"
  60. calendars >= "2.0.0"
  61. callipyge
  62. camlix
  63. camlkit
  64. camlkit-base
  65. capnp-rpc
  66. capnp-rpc-unix
  67. caqti >= "1.7.0"
  68. caqti-async >= "1.7.0"
  69. caqti-driver-mariadb >= "1.7.0"
  70. caqti-driver-postgresql >= "1.7.0"
  71. caqti-driver-sqlite3 >= "1.7.0"
  72. caqti-dynload >= "2.0.1"
  73. caqti-eio
  74. caqti-lwt >= "1.7.0"
  75. caqti-miou
  76. carray
  77. carton < "1.0.0"
  78. carton-git
  79. carton-lwt >= "0.4.3" & < "1.0.0"
  80. catala >= "0.6.0"
  81. cborl
  82. cf-lwt
  83. chacha
  84. chamelon
  85. chamelon-unix
  86. charrua-client
  87. charrua-server
  88. checked_oint
  89. checkseum >= "0.0.3"
  90. cid
  91. clarity-lang
  92. class_group_vdf
  93. cohttp
  94. cohttp-curl-async
  95. cohttp-curl-lwt
  96. cohttp-eio >= "6.0.0~beta2"
  97. colombe >= "0.2.0"
  98. color
  99. commons
  100. conan
  101. conan-cli
  102. conan-database
  103. conan-lwt
  104. conan-unix
  105. conex < "0.10.0"
  106. conex-mirage-crypto
  107. conformist
  108. cookie
  109. corosync
  110. cow >= "2.2.0"
  111. crockford
  112. css
  113. css-parser
  114. cstruct
  115. cstruct-sexp
  116. ctypes-zarith
  117. cuid
  118. curly
  119. current
  120. current-albatross-deployer
  121. current_git >= "0.7.1"
  122. current_incr
  123. current_rpc >= "0.7.4"
  124. data-encoding
  125. dates_calc
  126. dbase4
  127. decimal >= "0.3.0"
  128. decompress
  129. depyt
  130. digestif >= "0.9.0"
  131. dispatch >= "0.4.1"
  132. dkim
  133. dkim-bin
  134. dkim-mirage
  135. dkml-dune-dsl-show
  136. dkml-install
  137. dkml-install-installer
  138. dkml-install-runner
  139. dmarc
  140. dns >= "4.4.1"
  141. dns-cli
  142. dns-client >= "4.6.3"
  143. dns-forward-lwt-unix
  144. dns-resolver
  145. dns-server
  146. dns-tsig
  147. dnssd
  148. dnssec < "10.2.4"
  149. dockerfile >= "8.2.7" & < "8.3.4"
  150. domain-local-await >= "0.2.1"
  151. domain-local-timeout
  152. domain-name
  153. dream
  154. dream-htmx
  155. dream-pure
  156. dscheck >= "0.1.1"
  157. duff
  158. dune-deps >= "1.4.0"
  159. dune-release >= "1.0.0"
  160. duration
  161. echo
  162. eio < "0.12"
  163. eio_linux
  164. eio_windows
  165. emile
  166. encore
  167. eqaf >= "0.5"
  168. equinoxe
  169. equinoxe-cohttp
  170. equinoxe-hlc
  171. ezgzip
  172. ezjsonm
  173. ezjsonm-lwt
  174. FPauth
  175. FPauth-core
  176. FPauth-responses
  177. FPauth-strategies
  178. faraday != "0.2.0"
  179. farfadet
  180. fat-filesystem
  181. fehu < "1.0.0~alpha3"
  182. ff
  183. ff-pbt
  184. flex-array
  185. flux
  186. fluxt
  187. forester >= "5.0"
  188. fsevents-lwt
  189. functoria
  190. fungi
  191. geojson
  192. geoml >= "0.1.1"
  193. git
  194. git-cohttp
  195. git-cohttp-unix
  196. git-kv >= "0.2.0"
  197. git-mirage
  198. git-net
  199. git-split
  200. git-unix
  201. gitlab-unix
  202. glicko2
  203. gmap
  204. gobba
  205. gpt
  206. graphql
  207. graphql-async
  208. graphql-cohttp >= "0.13.0"
  209. graphql-lwt
  210. graphql_parser != "0.11.0"
  211. graphql_ppx
  212. h1
  213. h1_parser
  214. h2
  215. hacl
  216. hacl-star >= "0.6.0" & < "0.7.2"
  217. hacl_func
  218. hacl_x25519
  219. handlebars-ml >= "0.2.1"
  220. highlexer
  221. hkdf
  222. hockmd
  223. html_of_jsx
  224. http
  225. http-multipart-formdata < "2.0.0"
  226. httpaf >= "0.2.0"
  227. httpun
  228. httpun-ws
  229. hugin < "1.0.0~alpha3"
  230. huml
  231. hvsock
  232. icalendar
  233. imagelib
  234. index
  235. inferno >= "20220603"
  236. influxdb-async
  237. influxdb-lwt
  238. inquire < "0.2.0"
  239. intel_hex >= "0.3"
  240. interval-map
  241. iomux
  242. irmin
  243. irmin-bench
  244. irmin-chunk
  245. irmin-cli
  246. irmin-containers
  247. irmin-fs
  248. irmin-git
  249. irmin-graphql
  250. irmin-pack
  251. irmin-pack-tools
  252. irmin-test != "3.6.1"
  253. irmin-tezos
  254. irmin-unix
  255. irmin-watcher
  256. jekyll-format
  257. jose
  258. json-data-encoding >= "0.9" & < "1.1.1"
  259. json_decoder
  260. jsonfeed
  261. jsonxt
  262. junit_alcotest < "2.2.0"
  263. jwto
  264. kaun < "1.0.0~alpha3"
  265. kcas >= "0.6.0"
  266. kcas_data >= "0.6.0"
  267. kdf
  268. ke >= "0.2"
  269. kkmarkdown
  270. kmt
  271. lambda-runtime
  272. lambda_streams
  273. lambda_streams_async
  274. lambdapi
  275. layoutz
  276. letters
  277. liquid_ml >= "0.1.3"
  278. lmdb >= "1.0"
  279. lockfree >= "0.3.1"
  280. logical
  281. logtk >= "1.6"
  282. lp
  283. lp-glpk
  284. lp-glpk-js < "0.5.0"
  285. lp-gurobi < "0.5.0"
  286. lru
  287. lt-code
  288. luv
  289. mazeppa
  290. mbr-format
  291. mdx >= "1.6.0"
  292. mec
  293. mechaml >= "1.2.1"
  294. merlin = "4.17.1-501"
  295. merlin-lib >= "4.17.1-501"
  296. metrics
  297. middleware
  298. mimic
  299. minicaml = "0.3.1" | >= "0.4"
  300. mirage >= "4.0.0"
  301. mirage-block-partition
  302. mirage-block-ramdisk
  303. mirage-channel >= "4.0.1"
  304. mirage-crypto-ec
  305. mirage-flow-unix
  306. mirage-kv >= "2.0.0"
  307. mirage-kv-mem
  308. mirage-kv-unix >= "3.0.0"
  309. mirage-logs
  310. mirage-nat
  311. mirage-net-unix
  312. mirage-runtime < "4.7.0"
  313. mirage-tc
  314. mjson
  315. mlgpx
  316. mmdb < "0.3.0"
  317. mnd
  318. mqtt
  319. mrmime >= "0.2.0"
  320. msgpck >= "1.6"
  321. mssql >= "2.0.3"
  322. multibase
  323. multicore-magic
  324. multihash
  325. multihash-digestif
  326. multipart-form-data
  327. multipart_form
  328. multipart_form-eio
  329. multipart_form-lwt
  330. multipart_form-miou
  331. named-pipe
  332. nanoid
  333. nbd >= "4.0.3"
  334. nbd-tool
  335. neo4j_bolt
  336. nloge
  337. nocoiner
  338. non_empty_list
  339. nx < "1.0.0~alpha3"
  340. nx-datasets
  341. nx-text
  342. OCADml >= "0.6.0"
  343. obatcher
  344. ocaml-index < "5.4.1-503"
  345. ocaml-r >= "0.4.0"
  346. ocaml-version >= "3.5.0"
  347. ocamlformat >= "0.13.0" & < "0.25.1"
  348. ocamlformat-lib
  349. ocamlformat-mlx-lib
  350. ocamlformat-rpc < "removed"
  351. ocamline
  352. ocluster
  353. ocue
  354. odoc < "2.1.1"
  355. oenv >= "0.1.0"
  356. ohex
  357. oidc
  358. oktree >= "0.2.4"
  359. opam-0install
  360. opam-0install-cudf >= "0.5.0"
  361. opam-compiler
  362. opam-file-format >= "2.1.1"
  363. opam-repomin
  364. opencage
  365. opentelemetry >= "0.6"
  366. opentelemetry-client
  367. opentelemetry-client-cohttp-eio
  368. opentelemetry-client-cohttp-lwt >= "0.6"
  369. opentelemetry-client-ocurl >= "0.6"
  370. opentelemetry-client-ocurl-lwt
  371. opentelemetry-cohttp-lwt >= "0.6"
  372. opentelemetry-logs
  373. opentelemetry-lwt >= "0.6"
  374. opium
  375. opium-graphql
  376. opium-testing
  377. opium_kernel
  378. orewa
  379. orgeat
  380. ortac-core
  381. ortac-wrapper
  382. osnap < "0.3.0"
  383. osx-acl
  384. osx-attr
  385. osx-cf
  386. osx-fsevents
  387. osx-membership
  388. osx-mount
  389. osx-xattr
  390. otoggl
  391. owl >= "0.7.0" & != "0.9.0" & != "1.0.0"
  392. owl-base < "0.5.0"
  393. owl-ode >= "0.1.0" & != "0.2.0"
  394. owl-symbolic
  395. par_incr
  396. parseff
  397. passe
  398. passmaker
  399. patch
  400. pbkdf
  401. pecu >= "0.2"
  402. pf-qubes
  403. pg_query >= "0.9.6"
  404. pgx >= "1.0"
  405. pgx_unix >= "1.0"
  406. pgx_value_core
  407. pgx_value_ptime
  408. phylogenetics
  409. piaf
  410. picos < "0.5.0"
  411. picos_meta
  412. piece_rope
  413. plebeia >= "2.0.0"
  414. polyglot
  415. polymarket
  416. polynomial
  417. ppx_blob >= "0.3.0"
  418. ppx_catch
  419. ppx_deriving_cmdliner
  420. ppx_deriving_ezjsonm
  421. ppx_deriving_qcheck
  422. ppx_deriving_rpc
  423. ppx_deriving_yaml
  424. ppx_inline_alcotest
  425. ppx_map
  426. ppx_marshal
  427. ppx_parser
  428. ppx_protocol_conv >= "5.0.0"
  429. ppx_protocol_conv_json >= "5.0.0"
  430. ppx_protocol_conv_jsonm >= "5.0.0"
  431. ppx_protocol_conv_msgpack >= "5.0.0"
  432. ppx_protocol_conv_xml_light >= "5.0.0"
  433. ppx_protocol_conv_xmlm
  434. ppx_protocol_conv_yaml >= "5.0.0"
  435. ppx_repr
  436. ppx_subliner
  437. ppx_units
  438. ppx_yojson >= "1.1.0"
  439. pratter
  440. prbnmcn-ucb1 >= "0.0.2"
  441. prc
  442. preface
  443. pretty_expressive
  444. prettym
  445. proc-smaps
  446. producer
  447. progress
  448. prom
  449. prometheus < "1.2"
  450. prometheus-app
  451. protocell
  452. protocol-9p < "0.11.0" | >= "0.11.2"
  453. protocol-9p-unix
  454. proton
  455. psq
  456. public-suffix
  457. pxshot
  458. pyast
  459. qcaml
  460. qcheck >= "0.25"
  461. qcheck-alcotest
  462. qcheck-core >= "0.25"
  463. qcow-stream >= "0.13.0"
  464. qcow-tool >= "0.13.0"
  465. qcow-types >= "0.13.0"
  466. qdrant
  467. query-json
  468. quickjs
  469. quill < "1.0.0~alpha3"
  470. randii
  471. reason-standard
  472. red-black-tree
  473. reparse >= "2.0.0" & < "3.0.0"
  474. reparse-unix < "2.1.0"
  475. resp
  476. resp-unix >= "0.10.0"
  477. resto >= "0.9"
  478. rfc1951 < "1.0.0"
  479. routes < "2.0.0"
  480. rpc
  481. rpclib
  482. rpclib-async
  483. rpclib-lwt
  484. rpmfile < "0.3.0"
  485. rpmfile-eio
  486. rpmfile-unix
  487. rune < "1.0.0~alpha3"
  488. SZXX >= "4.0.0"
  489. saga
  490. salsa20
  491. salsa20-core
  492. sanddb >= "0.2"
  493. saturn != "0.4.1"
  494. saturn_lockfree != "0.4.1"
  495. scrypt-kdf
  496. secp256k1 >= "0.4.1"
  497. secp256k1-internal
  498. semver >= "0.2.1"
  499. sendmail
  500. sendmail-lwt
  501. sendmail-miou-unix
  502. sendmail-mirage
  503. sendmsg
  504. seqes
  505. server-reason-react
  506. session-cookie
  507. session-cookie-async
  508. session-cookie-lwt
  509. shakuhachi
  510. sherlodoc
  511. sihl < "0.2.0"
  512. sihl-type
  513. slug
  514. sm
  515. smaws-clients
  516. smaws-lib
  517. smol
  518. smol-helpers
  519. sodium-fmt
  520. solidity-alcotest
  521. sowilo < "1.0.0~alpha3"
  522. spdx_licenses
  523. spectrum >= "0.2.0"
  524. spectrum_capabilities
  525. spectrum_palette_ppx
  526. spectrum_palettes
  527. spectrum_tools
  528. spin >= "0.7.0"
  529. spurs < "0.1.1"
  530. squirrel
  531. ssh-agent
  532. ssl >= "0.6.0"
  533. starred_ml < "0.0.8"
  534. stramon-lib
  535. stringx
  536. styled-ppx
  537. swapfs
  538. symex >= "0.2"
  539. synchronizer >= "0.2"
  540. syslog-rfc5424 < "0.2"
  541. tabr
  542. talon < "1.0.0~alpha3"
  543. tar-mirage
  544. tcpip
  545. tdigest < "2.1.0"
  546. term-indexing
  547. term-tools
  548. terminal
  549. terminal_size >= "0.1.1"
  550. terminus
  551. terminus-cohttp
  552. terminus-hlc
  553. terml
  554. testo
  555. testo-lwt
  556. textmate-language >= "0.3.0"
  557. textrazor
  558. thread-table
  559. timedesc
  560. timere
  561. timmy
  562. timmy-jsoo
  563. timmy-lwt
  564. timmy-unix
  565. tls >= "0.12.8"
  566. toc
  567. topojson
  568. topojsone
  569. trail
  570. traits
  571. transept
  572. tsort >= "2.2.0"
  573. twostep
  574. type_eq
  575. type_id
  576. typeid >= "1.0.1"
  577. tyre >= "0.4"
  578. tyxml >= "4.2.0"
  579. tyxml-jsx
  580. tyxml-ppx >= "4.3.0"
  581. tyxml-syntax
  582. uecc
  583. ulid
  584. universal-portal
  585. unix-dirent
  586. unix-errno
  587. unix-sys-resource
  588. unix-sys-stat
  589. unix-time
  590. unstrctrd
  591. uring < "0.4"
  592. user-agent-parser
  593. uspf
  594. uspf-lwt
  595. uspf-mirage
  596. uspf-unix
  597. utcp
  598. utop >= "2.13.0"
  599. validate
  600. validator
  601. vercel
  602. vhd-format-lwt >= "0.13.0"
  603. wayland >= "2.0"
  604. wcwidth
  605. websocketaf
  606. x509 >= "0.7.0"
  607. xapi-rrd
  608. xapi-stdext-date
  609. xapi-stdext-encodings
  610. xapi-stdext-std >= "4.16.0"
  611. xdge
  612. yaml
  613. yaml-sexp
  614. yocaml
  615. yocaml_syndication >= "2.0.0"
  616. yocaml_yaml < "2.0.0"
  617. yojson >= "1.6.0"
  618. yojson-five
  619. yuscii >= "0.3.0"
  620. yuujinchou >= "1.0.0"
  621. zar
  622. zed >= "3.2.2"
  623. zlist < "0.4.0"

Conflicts (1)

  1. result < "1.5"