Skip to content

Commit 7c9200a

Browse files
authored
Merge pull request ocaml#23408 from bbc2/opam-publish-mock.1.0.0
2 packages from cryptosense/ocaml-mock at 1.0.0
2 parents 2370128 + b17986f commit 7c9200a

File tree

2 files changed

+59
-0
lines changed
  • packages
    • mock-ounit/mock-ounit.1.0.0
    • mock/mock.1.0.0

2 files changed

+59
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
opam-version: "2.0"
2+
maintainer: ["Cryptosense <[email protected]>"]
3+
authors: ["Cryptosense <[email protected]>"]
4+
homepage: "https://github.com/cryptosense/ocaml-mock"
5+
bug-reports: "https://github.com/cryptosense/ocaml-mock/issues"
6+
license: "BSD-2-Clause"
7+
dev-repo: "git+https://github.com/cryptosense/ocaml-mock.git"
8+
doc: "https://cryptosense.github.io/ocaml-mock/doc"
9+
build: [
10+
[ "dune" "build" "-p" name "-j" jobs ]
11+
]
12+
run-test: [
13+
[ "dune" "runtest" "-p" name "-j" jobs ]
14+
]
15+
depends: [
16+
"dune"
17+
"mock"
18+
"ocaml" {>= "4.07.0"}
19+
"ounit2"
20+
"ppx_deriving" {with-test}
21+
]
22+
synopsis: "OUnit wrapper for OCaml mock"
23+
url {
24+
src:
25+
"https://github.com/cryptosense/ocaml-mock/archive/refs/tags/1.0.0.tar.gz"
26+
checksum: [
27+
"md5=67deb0f8161f966bef6a422349dd88ad"
28+
"sha512=3cad4d869563f4f187cc388170186825e0259a3f0a2d0c956ba47cb1f22ce08860677d80c04451d0b448745d76fef7f1c87e11ac1130548cb8506d5bc5715cd8"
29+
]
30+
}

packages/mock/mock.1.0.0/opam

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
opam-version: "2.0"
2+
maintainer: ["Cryptosense <[email protected]>"]
3+
authors: ["Cryptosense <[email protected]>"]
4+
homepage: "https://github.com/cryptosense/ocaml-mock"
5+
bug-reports: "https://github.com/cryptosense/ocaml-mock/issues"
6+
license: "BSD-2-Clause"
7+
dev-repo: "git+https://github.com/cryptosense/ocaml-mock.git"
8+
doc: "https://cryptosense.github.io/ocaml-mock/doc"
9+
build: [
10+
[ "dune" "build" "-p" name "-j" jobs ]
11+
]
12+
depends: [
13+
"dune"
14+
"ocaml" {>= "4.07.0"}
15+
]
16+
synopsis: "Configurable functions to test impure code"
17+
description: """
18+
This package provides "mocks", fake functions that can be configured to return
19+
values or raise exceptions. It is possible to inspect their arguments after
20+
their execution. The API is greatly inspired by unittest.mock in Python.
21+
"""
22+
url {
23+
src:
24+
"https://github.com/cryptosense/ocaml-mock/archive/refs/tags/1.0.0.tar.gz"
25+
checksum: [
26+
"md5=67deb0f8161f966bef6a422349dd88ad"
27+
"sha512=3cad4d869563f4f187cc388170186825e0259a3f0a2d0c956ba47cb1f22ce08860677d80c04451d0b448745d76fef7f1c87e11ac1130548cb8506d5bc5715cd8"
28+
]
29+
}

0 commit comments

Comments
 (0)