ppx_dryunit
A detection tool for traditional unit testing in OCaml
Description
Dryunit is a detection tool for traditional test suites. This is an optional extension that provides similar functionallity as the main package and command line dryunit
(which is the recommended way to get started).
Installation
opam install ppx_dryunit
Usage
It's activated appending this to the end of your tests/main.ml
:
let () = [%dryunit]
Custom definitions are given using a record. All fields are optional and might be in any order.
let () =
[%dryunit
{ cache_dir = ".dryunit"
; cache = true
; framework = "alcotest"
; ignore = ""
; filter = ""
; detection = "file"
; ignore_path = "self"
}
]
For more information, checkout the repository.
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
- Published
- 20 Oct 2017
- Authors
- Maintainers
Sources
Dependencies
ocaml-migrate-parsetree
build & < "2.0.0"
cppo
build
jbuilder
>= "1.0+beta7"
ocaml
>= "4.02.3" & < "4.06"
Reverse Dependencies
dryunit
< "0.4.0"