Skip to content

Commit

Permalink
Merge pull request #9 from mbarbin/expect-tests
Browse files Browse the repository at this point in the history
Split test package & use expect_test_helpers_base
  • Loading branch information
mbarbin authored Aug 23, 2024
2 parents b3164ad + 9cc399a commit 149ec5b
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 8 deletions.
15 changes: 15 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -55,7 +55,7 @@
(>= 1.0))
(eio_main
(>= 1.0))
(expect-test-helpers
(expect_test_helpers_core
(and
(>= v0.17)
(< v0.18)))
Expand Down
4 changes: 2 additions & 2 deletions provider-test.opam → provider-tests.opam
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"}
Expand Down
12 changes: 9 additions & 3 deletions test/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(library
(name provider_test)
(public_name provider-test)
(public_name provider-tests.provider_test)
(inline_tests)
(flags
:standard
Expand All @@ -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
Expand Down

0 comments on commit 149ec5b

Please sign in to comment.