Skip to content

Commit 3b2cd78

Browse files
committed
finish removing qtest
1 parent 1e4a22f commit 3b2cd78

File tree

8 files changed

+7
-150
lines changed

8 files changed

+7
-150
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,10 @@ You need dune (formerly jbuilder).
266266
$ make
267267
```
268268

269-
To build and run tests (requires `oUnit`, [qtest](https://github.com/vincent-hugot/qtest), `gen`, `iter`):
269+
To build and run tests (requires `qcheck-core`, `gen`, `iter`):
270270

271271
```
272-
$ opam install oUnit qtest
272+
$ opam install qcheck-core
273273
$ make test
274274
```
275275

@@ -302,7 +302,7 @@ to list authors based on the git commits.
302302
Assuming your are in a clone of the repository:
303303

304304
1. Some dependencies are required, you'll need
305-
`opam install benchmark qcheck qtest iter gen mdx uutf`.
305+
`opam install benchmark qcheck-core iter gen mdx uutf`.
306306
2. run `make all` to enable everything (including tests).
307307
3. make your changes, commit, push, and open a PR.
308308
4. use `make test` without moderation! It must pass before a PR
@@ -318,7 +318,7 @@ A few guidelines to follow the philosophy of containers:
318318

319319
- no dependencies between basic modules (even just for signatures);
320320
- add `@since` tags for new functions;
321-
- add tests if possible (using [qtest](https://github.com/vincent-hugot/qtest/)).
321+
- add tests if possible (see `tests/` dir)
322322
There are numerous inline tests already,
323323
to see what it looks like search for comments starting with `(*$`
324324
in source files.

containers-data.opam

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ depends: [
1414
"dune" { >= "2.0" }
1515
"containers" { = version }
1616
"seq"
17-
"qtest" { with-test }
18-
"qcheck" { with-test }
17+
"qcheck-core" { with-test }
1918
"ounit" { with-test }
2019
"iter" { with-test }
2120
"gen" { with-test }

containers-thread.opam

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ depends: [
1616
"dune-configurator"
1717
"containers" { = version }
1818
"iter" { with-test }
19-
"qtest" { with-test }
20-
"qcheck" { with-test }
19+
"qcheck-core" { with-test }
2120
"ounit" { with-test }
2221
"uutf" { with-test }
2322
"odoc" { with-doc }

containers.opam

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ depends: [
1616
"dune-configurator"
1717
"seq" # compat
1818
"either" # compat
19-
"qtest" { with-test }
20-
"qcheck" { >= "0.14" & with-test }
21-
"ounit2" { with-test }
19+
"qcheck-core" { >= "0.14" & with-test }
2220
"yojson" { with-test }
2321
"iter" { with-test }
2422
"gen" { with-test }

qtest/dune

Lines changed: 0 additions & 62 deletions
This file was deleted.

qtest/make.ml

Lines changed: 0 additions & 74 deletions
This file was deleted.

tests/data/t_misc.ml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ module Test = (val Containers_testlib.make ~__FILE__())
44
open Test
55

66
module Mixmap = struct
7-
open CCMixmap;;
87

98
t @@ fun () ->
109
let module M = CCMixmap.Make(CCInt) in
@@ -138,7 +137,6 @@ module Mixtbl = struct
138137
end
139138

140139
module Multiset = struct
141-
open CCMultiSet;;
142140

143141
t @@ fun () -> let module S = CCMultiSet.Make(String) in
144142
S.count (S.add_mult S.empty "a" 5) "a" = 5;;

tests/data/t_mutheap.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
module Test = (val Containers_testlib.make ~__FILE__())
44
open Test
5-
open CCMutHeap;;
65

76
type elt = {
87
x: string;

0 commit comments

Comments
 (0)