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.11.0.tar.gz
md5=90b44210c535b8883abff13bdbf49bce

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: 22 Mar 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 (7)

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

Dev Dependencies

None

Used by (4)

  1. ecaml = "v0.11.0"
  2. expect_test_helpers = "v0.11.0"
  3. obeam >= "0.1.1"
  4. selective

Conflicts

None