From 9cc399a0941272407f9296ae77d076f737ef8979 Mon Sep 17 00:00:00 2001 From: Mathieu Barbin Date: Fri, 23 Aug 2024 18:25:16 +0200 Subject: [PATCH] Split test package & use expect_test_helpers_base --- CHANGES.md | 15 +++++++++++++++ dune-project | 6 +++--- provider-test.opam => provider-tests.opam | 4 ++-- test/dune | 12 +++++++++--- 4 files changed, 29 insertions(+), 8 deletions(-) rename provider-test.opam => provider-tests.opam (92%) diff --git a/CHANGES.md b/CHANGES.md index 156bc9c..191612e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,18 @@ +## 0.0.9 (unreleased) + +### Added + +### Changed + +- Split test package. +- Use `expect_test_helpers_core.expect_test_helpers_base`. + +### Deprecated + +### Fixed + +### Removed + ## 0.0.8 (2024-08-19) ### Fixed diff --git a/dune-project b/dune-project index e54cc56..799a1e4 100644 --- a/dune-project +++ b/dune-project @@ -38,8 +38,8 @@ (< v0.18))))) (package - (name provider-test) - (synopsis "Test suite for provider library") + (name provider-tests) + (synopsis "Tests for provider") (depends (ocaml (>= 5.2)) @@ -55,7 +55,7 @@ (>= 1.0)) (eio_main (>= 1.0)) - (expect-test-helpers + (expect_test_helpers_core (and (>= v0.17) (< v0.18))) diff --git a/provider-test.opam b/provider-tests.opam similarity index 92% rename from provider-test.opam rename to provider-tests.opam index 80a3f37..b9cc800 100644 --- a/provider-test.opam +++ b/provider-tests.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -synopsis: "Test suite for provider library" +synopsis: "Tests for provider" maintainer: ["Mathieu Barbin"] authors: ["Mathieu Barbin"] license: "ISC" @@ -14,7 +14,7 @@ depends: [ "bisect_ppx" {dev & >= "2.8.3"} "eio" {>= "1.0"} "eio_main" {>= "1.0"} - "expect-test-helpers" {>= "v0.17" & < "v0.18"} + "expect_test_helpers_core" {>= "v0.17" & < "v0.18"} "mdx" {with-doc & >= "2.4"} "ppx_compare" {>= "v0.17" & < "v0.18"} "ppx_enumerate" {>= "v0.17" & < "v0.18"} diff --git a/test/dune b/test/dune index 16254f9..2316370 100644 --- a/test/dune +++ b/test/dune @@ -1,6 +1,6 @@ (library (name provider_test) - (public_name provider-test) + (public_name provider-tests.provider_test) (inline_tests) (flags :standard @@ -11,8 +11,14 @@ -open Base -open - Expect_test_helpers) - (libraries base eio eio_main expect-test-helpers provider unix) + Expect_test_helpers_base) + (libraries + base + eio + eio_main + expect_test_helpers_core.expect_test_helpers_base + provider + unix) (instrumentation (backend bisect_ppx)) (lint