File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed
mock-ounit/mock-ounit.1.0.0 Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments