diff options
author | Clombrong <cromblong@egregore.fun> | 2025-07-01 21:29:23 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-07-26 21:55:48 +0200 |
commit | 17e52c4eb411fe4dd1b1f65671a0c5ffdc71f66d (patch) | |
tree | a5e23d53536c857d3590722862655bf0227da24e | |
parent | bd6c41b0507b7cf460f1c789f9800501d9390788 (diff) |
feat(flesh): add ppx_expect inline testing in dune
and portal-tcp to run inline test executables
-rw-r--r-- | dune-project | 4 | ||||
-rw-r--r-- | flesh.opam | 2 | ||||
-rw-r--r-- | lib/dune | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/dune-project b/dune-project index c16a7f9..128429f 100644 --- a/dune-project +++ b/dune-project @@ -28,10 +28,12 @@ base64 ppx_deriving domain-name + ppx_expect (js_of_ocaml-compiler :with-test) (merlin :with-test) - (utop :with-test)) + (utop :with-test) + (portal-tcp :with-test)) (tags (xmpp lwt))) @@ -17,9 +17,11 @@ depends: [ "base64" "ppx_deriving" "domain-name" + "ppx_expect" "js_of_ocaml-compiler" {with-test} "merlin" {with-test} "utop" {with-test} + "portal-tcp" {with-test} "odoc" {with-doc} ] build: [ @@ -6,4 +6,6 @@ portal markup markup-lwt) - (preprocess (pps ppx_deriving.show))) + (inline_tests + (libraries portal-tcp)) + (preprocess (pps ppx_deriving.show ppx_expect))) |