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.9.0.tar.gz
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)

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

Dev Dependencies

None

Used by (2)

  1. expect_test_helpers < "v0.10.0"
  2. obeam >= "0.1.1"

Conflicts

None

OCaml

Innovation. Community. Security.