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

Conflicts (1)

  1. result < "1.5"