package expect_test_helpers_kernel
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=135bee0bda9bc2a063df1f0d8113674f882afc004a3e3018fc0c4467d48d8090
md5=8a430de23c0224ad48ccbdbfc3059b01
Description
This library provides helper functions for writing expect tests.
If you want helpers for writing expect tests using the Async library, look at expect_test_helpers.
Published: 03 Jan 2018
README
README.md
January 2017
Expect_test_helpers_kernel
is a library intended for use with expect tests, i.e. the let%expect_test
syntax. It has functions that are generally useful in writing expect tests, and are aimed at printing output to appear in [%expect]
expressions. Widely used functions include: print_s
, require
, and show_raise
.
Expect_test_helpers_kernel
depends on Core_kernel
and does not use Unix or Async. It is suitable for use in JavaScript. Also see the Expect_test_helpers
library, which extends Expect_test_helpers_kernel
to work in Async and with additional helper functions that make use of Unix processes.
Dependencies (8)
-
re
>= "1.5.0"
-
ocaml-migrate-parsetree
>= "0.4" & < "2.0.0"
-
jbuilder
>= "1.0+beta12"
-
sexp_pretty
>= "v0.10" & < "v0.11"
-
ppx_jane
>= "v0.10" & < "v0.11"
-
ppx_driver
>= "v0.10" & < "v0.11"
-
core_kernel
>= "v0.10" & < "v0.11"
-
ocaml
>= "4.04.1"
Dev Dependencies
None
Used by (3)
-
ecaml
= "v0.10.0"
-
expect_test_helpers
= "v0.10.0"
-
obeam
>= "0.1.1"
Conflicts
None