forked from
anil.recoil.org/ocaml-requests
A batteries included HTTP/1.1 client in OCaml
1(test
2 (name test)
3 (libraries
4 unix
5 requests
6 requests.core
7 alcotest
8 cstruct
9 eio
10 eio_main
11 jsont
12 jsont.bytesrw
13 ptime
14 ptime.clock.os
15 uri
16 vlog)
17 (enabled_if
18 (= %{context_name} "default")))
19
20; Cram tests require httpbin server - only run when HTTPBIN_TESTS=1
21
22(cram
23 (deps %{bin:ocurl})
24 (enabled_if
25 (= %{env:HTTPBIN_TESTS=} "1")))