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

Conflicts (1)

  1. result < "1.5"