this repo has no description
1opam-version: "2.0"
2maintainer: "gerson.xp@gmail.com"
3authors: "Gerson Moraes"
4homepage: "https://github.com/gersonmoraes/dryunit"
5bug-reports: "https://github.com/gersonmoraes/dryunit"
6dev-repo: "git+https://github.com/gersonmoraes/dryunit.git"
7build: [
8 ["jbuilder" "subst" "-p" name] {dev}
9 ["jbuilder" "build" "-p" name "-j" jobs]
10]
11
12depends: [
13 "ocaml" {>= "4.02.3"}
14 "jbuilder" {>= "1.0+beta7"}
15 "cppo" {build}
16 "cmdliner" {>= "1.0.2"}
17]
18synopsis: "A detection tool for traditional unit testing in OCaml"
19description: """
20Dryunit is a generates bootstrap code for test frameworks. As a result, you get to use plain old OCaml.
21For more information, checkout the [repository](https://github.com/gersonmoraes/dryunit).
22
23
24## Installation
25
26```
27opam install dryunit
28```
29
30## Conventions
31
32- Test files should either be called `tests.ml` or `something_tests.ml`
33- Test functions should called `test_something`
34- By default, test executables are named `main`
35
36
37## Usage
38
39If you use jbuilder, you can get started using this:
40
41```sh
42mkdir tests
43dryunit init > tests/jbuild
44```
45
46You can also define the framework explicitly using `dryunit init alcotest`. Adding a sample test:
47
48```sh
49echo "let test_error () = raise Not_found" > tests/something_tests.ml
50jbuilder build tests/main.exe && _build/default/tests/main.exe
51```"""
52url {
53 src: "https://github.com/gersonmoraes/dryunit/archive/0.4.1.tar.gz"
54 checksum: [
55 "sha256=565520bc97d257e6ffafbd0876c1f844b1c1fbfed9dd77958c5dfe1a80f679b0"
56 "md5=307fbc627e3fb70092ae547934b3521e"
57 ]
58}