package expect_test_helpers_kernel
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=f5db77da8c30c1ad86c0917ecca250621703ec475328dbda0feddfbb945aaf6a
md5=ea02d33c168ae2a282feff2cb53b0fd1
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: 21 May 2017
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"
-
sexp_pretty
>= "v0.9" & < "v0.10"
-
ppx_jane
>= "v0.9" & < "v0.10"
-
ppx_driver
>= "v0.9" & < "v0.10"
-
jbuilder
>= "1.0+beta7"
-
core_kernel
>= "v0.9" & < "v0.10"
-
ocaml
>= "4.03.0"
Dev Dependencies
None
Used by (2)
-
expect_test_helpers
< "v0.10.0"
-
obeam
>= "0.1.1"
Conflicts
None