Skip to content

Commit

Permalink
Merge pull request #3 from mbarbin/expect-tests
Browse files Browse the repository at this point in the history
Use expect_test_helpers_core.expect_test_helpers_base
  • Loading branch information
mbarbin committed Aug 23, 2024
2 parents fd9e8e7 + 1f1c885 commit 30a094f
Show file tree
Hide file tree
Showing 14 changed files with 286 additions and 22 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.8 (unreleased)

### Added

### Changed

- Split packages
- Use `expect_test_helpers_core.expect_test_helpers_base`

### Deprecated

### Fixed

### Removed

## 0.0.7 (2024-07-26)

### Added
Expand Down
129 changes: 127 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,133 @@
(and
:dev
(>= 2.8.3)))
(expect-test-helpers
(patdiff
(and
(>= v0.17)
(< v0.18)))
(ppx_compare
(and
(>= v0.17)
(< v0.18)))
(ppx_enumerate
(and
(>= v0.17)
(< v0.18)))
(ppx_hash
(and
(>= v0.17)
(< v0.18)))
(ppx_here
(and
(>= v0.17)
(< v0.18)))
(ppx_js_style
(and
:dev
(>= v0.17)
(< v0.18)))
(ppx_let
(and
(>= v0.17)
(< v0.18)))
(ppx_sexp_conv
(and
(>= v0.17)
(< v0.18)))
(ppx_sexp_value
(and
(>= v0.17)
(< v0.18)))
(ppxlib
(>= 0.33))
(textutils
(and
(>= v0.17)
(< v0.18)))))

(package
(name fingerboard-system)
(synopsis "Package for Fingerboard systems")
(depends
(ocaml
(>= 5.2))
(base
(and
(>= v0.17)
(< v0.18)))
(bisect_ppx
(and
:dev
(>= 2.8.3)))
(expect_test_helpers_core
(and
(>= v0.17)
(< v0.18)))
(fingerboard
(= :version))
(patdiff
(and
(>= v0.17)
(< v0.18)))
(ppx_compare
(and
(>= v0.17)
(< v0.18)))
(ppx_enumerate
(and
(>= v0.17)
(< v0.18)))
(ppx_expect
(and
(>= v0.17)
(< v0.18)))
(ppx_hash
(and
(>= v0.17)
(< v0.18)))
(ppx_here
(and
(>= v0.17)
(< v0.18)))
(ppx_js_style
(and
:dev
(>= v0.17)
(< v0.18)))
(ppx_let
(and
(>= v0.17)
(< v0.18)))
(ppx_sexp_conv
(and
(>= v0.17)
(< v0.18)))
(ppx_sexp_value
(and
(>= v0.17)
(< v0.18)))
(ppxlib
(>= 0.33))
(textutils
(and
(>= v0.17)
(< v0.18)))))

(package
(name fingerboard-tests)
(synopsis "Tests for fingerboard")
(depends
(ocaml
(>= 5.2))
(base
(and
(>= v0.17)
(< v0.18)))
(bisect_ppx
(and
:dev
(>= 2.8.3)))
(expect_test_helpers_core
(and
(>= v0.17)
(< v0.18)))
Expand All @@ -47,7 +173,6 @@
(< v0.18)))
(ppx_expect
(and
:with-test
(>= v0.17)
(< v0.18)))
(ppx_hash
Expand Down
45 changes: 45 additions & 0 deletions fingerboard-system.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Package for Fingerboard systems"
maintainer: ["Mathieu Barbin"]
authors: ["Mathieu Barbin"]
license: "AGPL-3.0-or-later"
homepage: "https://github.com/mbarbin/fingerboard"
doc: "https://mbarbin.github.io/fingerboard/"
bug-reports: "https://github.com/mbarbin/fingerboard/issues"
depends: [
"dune" {>= "3.16"}
"ocaml" {>= "5.2"}
"base" {>= "v0.17" & < "v0.18"}
"bisect_ppx" {dev & >= "2.8.3"}
"expect_test_helpers_core" {>= "v0.17" & < "v0.18"}
"fingerboard" {= version}
"patdiff" {>= "v0.17" & < "v0.18"}
"ppx_compare" {>= "v0.17" & < "v0.18"}
"ppx_enumerate" {>= "v0.17" & < "v0.18"}
"ppx_expect" {>= "v0.17" & < "v0.18"}
"ppx_hash" {>= "v0.17" & < "v0.18"}
"ppx_here" {>= "v0.17" & < "v0.18"}
"ppx_js_style" {dev & >= "v0.17" & < "v0.18"}
"ppx_let" {>= "v0.17" & < "v0.18"}
"ppx_sexp_conv" {>= "v0.17" & < "v0.18"}
"ppx_sexp_value" {>= "v0.17" & < "v0.18"}
"ppxlib" {>= "0.33"}
"textutils" {>= "v0.17" & < "v0.18"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/mbarbin/fingerboard.git"
44 changes: 44 additions & 0 deletions fingerboard-tests.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Tests for fingerboard"
maintainer: ["Mathieu Barbin"]
authors: ["Mathieu Barbin"]
license: "AGPL-3.0-or-later"
homepage: "https://github.com/mbarbin/fingerboard"
doc: "https://mbarbin.github.io/fingerboard/"
bug-reports: "https://github.com/mbarbin/fingerboard/issues"
depends: [
"dune" {>= "3.16"}
"ocaml" {>= "5.2"}
"base" {>= "v0.17" & < "v0.18"}
"bisect_ppx" {dev & >= "2.8.3"}
"expect_test_helpers_core" {>= "v0.17" & < "v0.18"}
"patdiff" {>= "v0.17" & < "v0.18"}
"ppx_compare" {>= "v0.17" & < "v0.18"}
"ppx_enumerate" {>= "v0.17" & < "v0.18"}
"ppx_expect" {>= "v0.17" & < "v0.18"}
"ppx_hash" {>= "v0.17" & < "v0.18"}
"ppx_here" {>= "v0.17" & < "v0.18"}
"ppx_js_style" {dev & >= "v0.17" & < "v0.18"}
"ppx_let" {>= "v0.17" & < "v0.18"}
"ppx_sexp_conv" {>= "v0.17" & < "v0.18"}
"ppx_sexp_value" {>= "v0.17" & < "v0.18"}
"ppxlib" {>= "0.33"}
"textutils" {>= "v0.17" & < "v0.18"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/mbarbin/fingerboard.git"
2 changes: 0 additions & 2 deletions fingerboard.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ depends: [
"ocaml" {>= "5.2"}
"base" {>= "v0.17" & < "v0.18"}
"bisect_ppx" {dev & >= "2.8.3"}
"expect-test-helpers" {>= "v0.17" & < "v0.18"}
"patdiff" {>= "v0.17" & < "v0.18"}
"ppx_compare" {>= "v0.17" & < "v0.18"}
"ppx_enumerate" {>= "v0.17" & < "v0.18"}
"ppx_expect" {with-test & >= "v0.17" & < "v0.18"}
"ppx_hash" {>= "v0.17" & < "v0.18"}
"ppx_here" {>= "v0.17" & < "v0.18"}
"ppx_js_style" {dev & >= "v0.17" & < "v0.18"}
Expand Down
9 changes: 7 additions & 2 deletions systems/cello/e12/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name fingerboard_cello_system_e12)
(public_name fingerboard-system.cello.e12)
(flags
:standard
-w
Expand All @@ -9,10 +10,14 @@
-open
Base
-open
Expect_test_helpers
Expect_test_helpers_base
-open
Fingerboard)
(libraries base expect-test-helpers fingerboard textutils.ascii_table)
(libraries
base
expect_test_helpers_core.expect_test_helpers_base
fingerboard
textutils.ascii_table)
(inline_tests)
(instrumentation
(backend bisect_ppx))
Expand Down
9 changes: 7 additions & 2 deletions systems/cello/e19/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name fingerboard_cello_system_e19)
(public_name fingerboard-system.cello.e19)
(flags
:standard
-w
Expand All @@ -9,10 +10,14 @@
-open
Base
-open
Expect_test_helpers
Expect_test_helpers_base
-open
Fingerboard)
(libraries base expect-test-helpers fingerboard textutils.ascii_table)
(libraries
base
expect_test_helpers_core.expect_test_helpers_base
fingerboard
textutils.ascii_table)
(inline_tests)
(instrumentation
(backend bisect_ppx))
Expand Down
9 changes: 7 additions & 2 deletions systems/cello/e31/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name fingerboard_cello_system_e31)
(public_name fingerboard-system.cello.e31)
(flags
:standard
-w
Expand All @@ -9,10 +10,14 @@
-open
Base
-open
Expect_test_helpers
Expect_test_helpers_base
-open
Fingerboard)
(libraries base expect-test-helpers fingerboard textutils.ascii_table)
(libraries
base
expect_test_helpers_core.expect_test_helpers_base
fingerboard
textutils.ascii_table)
(inline_tests)
(instrumentation
(backend bisect_ppx))
Expand Down
9 changes: 7 additions & 2 deletions systems/cello/e53/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name fingerboard_cello_system_e53)
(public_name fingerboard-system.cello.e53)
(flags
:standard
-w
Expand All @@ -9,10 +10,14 @@
-open
Base
-open
Expect_test_helpers
Expect_test_helpers_base
-open
Fingerboard)
(libraries base expect-test-helpers fingerboard textutils.ascii_table)
(libraries
base
expect_test_helpers_core.expect_test_helpers_base
fingerboard
textutils.ascii_table)
(inline_tests)
(instrumentation
(backend bisect_ppx))
Expand Down
9 changes: 7 additions & 2 deletions systems/cello/e55/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name fingerboard_cello_system_e55)
(public_name fingerboard-system.cello.e55)
(flags
:standard
-w
Expand All @@ -9,10 +10,14 @@
-open
Base
-open
Expect_test_helpers
Expect_test_helpers_base
-open
Fingerboard)
(libraries base expect-test-helpers fingerboard textutils.ascii_table)
(libraries
base
expect_test_helpers_core.expect_test_helpers_base
fingerboard
textutils.ascii_table)
(inline_tests)
(instrumentation
(backend bisect_ppx))
Expand Down
Loading

0 comments on commit 30a094f

Please sign in to comment.