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.

Added to opam-repository:

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

Conflicts (1)

  1. result < "1.5"