File tree Expand file tree Collapse file tree 5 files changed +28
-12
lines changed
Expand file tree Collapse file tree 5 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 1- # Change Log
1+ # Changelog
22
3- ## 0.1.1
3+ All notable changes to this project will be documented in this file.
44
5- * Use Dune instead of jbuilder.
6- * Upgrade to Opam 2.0.
7- * Run tests in CI.
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this
6+ project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
87
9- ## 0.1.0
8+ ## 1.0.0 - 2023-02-24
9+
10+ - Fix dependency on OUnit: ` oUnit ` -> ` ounit2 ` .
11+ - Require OCaml >= 4.07.
12+
13+ ## 0.1.1 - 2020-02-07
14+
15+ - Use Dune instead of jbuilder.
16+ - Upgrade to Opam 2.0.
17+ - Run tests in CI.
18+
19+ ## 0.1.0 - 2018-03-16
1020
1121Initial release.
Original file line number Diff line number Diff line change 11# Mock - configurable functions to test impure code
2- [ ![ Build Status] ( https://travis-ci.org/cryptosense/ocaml-mock.svg?branch=master )] ( https://travis-ci.org/cryptosense/ocaml-mock ) [ ![ docs] ( https://img.shields.io/badge/doc-online-blue.svg )] ( https://cryptosense.github.io/ocaml-mock/doc/ )
2+
3+ [ ![ Build Status] [ build_status_badge ]] [ build_status_link ]
4+ [ ![ Documentation] [ doc_badge ]] [ doc_link ]
35
46This package provides "mocks", fake functions that can be configured to return
57values or raise exceptions. It is possible to inspect their arguments after
@@ -10,6 +12,10 @@ it makes it possible to have pleasant output like this in your tests:
1012
1113> expected f to be called once, but it was called 3 times
1214
13- A wrapper for ` OUnit2 ` is available as ` mock-ounit ` .
15+ A wrapper for OUnit is available as ` mock-ounit ` .
1416
17+ [ build_status_badge ] : https://github.com/cryptosense/ocaml-mock/actions/workflows/main.yml/badge.svg
18+ [ build_status_link ] : https://github.com/cryptosense/ocaml-mock/actions/workflows/main.yml
19+ [ doc_badge ] : https://img.shields.io/badge/doc-online-blue.svg
20+ [ doc_link ] : https://cryptosense.github.io/ocaml-mock/doc/
1521[ unittest.mock ] : https://docs.python.org/3/library/unittest.mock.html
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ maintainer: ["Cryptosense <opensource@cryptosense.com>"]
33authors: ["Cryptosense <opensource@cryptosense.com>"]
44homepage: "https://github.com/cryptosense/ocaml-mock"
55bug-reports: "https://github.com/cryptosense/ocaml-mock/issues"
6- license: "BSD-2"
6+ license: "BSD-2-Clause "
77dev-repo: "git+https://github.com/cryptosense/ocaml-mock.git"
88doc: "https://cryptosense.github.io/ocaml-mock/doc"
99build: [
@@ -16,7 +16,7 @@ depends: [
1616 "dune"
1717 "mock"
1818 "ocaml" {>= "4.07.0"}
19- "ounit "
19+ "ounit2 "
2020 "ppx_deriving" {with-test}
2121]
2222synopsis: "OUnit wrapper for OCaml mock"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ maintainer: ["Cryptosense <opensource@cryptosense.com>"]
33authors: ["Cryptosense <opensource@cryptosense.com>"]
44homepage: "https://github.com/cryptosense/ocaml-mock"
55bug-reports: "https://github.com/cryptosense/ocaml-mock/issues"
6- license: "BSD-2"
6+ license: "BSD-2-Clause "
77dev-repo: "git+https://github.com/cryptosense/ocaml-mock.git"
88doc: "https://cryptosense.github.io/ocaml-mock/doc"
99build: [
Original file line number Diff line number Diff line change 11(test
22 (name test_suite)
33 (libraries
4- oUnit
4+ ounit2
55 mock
66 mock-ounit
77 )
You can’t perform that action at this time.
0 commit comments