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.

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

Conflicts (1)

  1. result < "1.5"