package mock

  1. Overview
  2. No Docs
Configurable functions to test impure code

Install

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=67deb0f8161f966bef6a422349dd88ad
sha512=3cad4d869563f4f187cc388170186825e0259a3f0a2d0c956ba47cb1f22ce08860677d80c04451d0b448745d76fef7f1c87e11ac1130548cb8506d5bc5715cd8

Description

This package provides "mocks", fake functions that can be configured to return values or raise exceptions. It is possible to inspect their arguments after their execution. The API is greatly inspired by unittest.mock in Python.

Published: 24 Feb 2023

Dependencies (2)

  1. ocaml >= "4.07.0"
  2. dune

Dev Dependencies

None

Used by (1)

  1. mock-ounit

Conflicts

None