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

Conflicts (1)

  1. result < "1.5"