package alcotest

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

alcotest-js-1.5.0.tbz
sha256=54281907e02d78995df246dc2e10ed182828294ad2059347a1e3a13354848f6c
sha512=1aea91de40795ec4f6603d510107e4b663c1a94bd223f162ad231316d8595e9e098cabbe28a46bdcb588942f3d103d8377373d533bcc7413ba3868a577469b45

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: 12 Oct 2021

Dependencies (9)

  1. ocaml-syntax-shims
  2. uutf >= "1.0.1"
  3. stdlib-shims
  4. re >= "1.7.2"
  5. cmdliner >= "1.0.0" & < "2.0.0"
  6. astring
  7. fmt >= "0.8.7"
  8. ocaml >= "4.03.0"
  9. dune >= "2.8"

Dev Dependencies (2)

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

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

Conflicts (1)

  1. result < "1.5"