package expect_test_helpers_kernel

  1. Overview
  2. Docs
Helpers for writing expectation tests

Install

Dune Dependency

Authors

Maintainers

Sources

expect_test_helpers_kernel-v0.10.0.tar.gz
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)

  1. re >= "1.5.0"
  2. ocaml-migrate-parsetree >= "0.4" & < "2.0.0"
  3. jbuilder >= "1.0+beta12"
  4. sexp_pretty >= "v0.10" & < "v0.11"
  5. ppx_jane >= "v0.10" & < "v0.11"
  6. ppx_driver >= "v0.10" & < "v0.11"
  7. core_kernel >= "v0.10" & < "v0.11"
  8. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (3)

  1. ecaml = "v0.10.0"
  2. expect_test_helpers = "v0.10.0"
  3. obeam >= "0.1.1"

Conflicts

None

OCaml

Innovation. Community. Security.