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

Conflicts (1)

  1. result < "1.5"