Skip to content

Commit ca5143e

Browse files
authored
Re-export SplittablesBase.Testing as SplittablesTesting (#44)
* Re-export SplittablesBase.Testing as SplittablesTesting * Manually Pkg.dev SplittablesTesting.jl in CI * Revert "Manually Pkg.dev SplittablesTesting.jl in CI" This reverts commit 99ef590. * Add SplittablesTesting in docs/Project.toml * Mention SplittablesTesting.jl in README
1 parent 27b45a3 commit ca5143e

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ These are the basis of parallel algorithms that can be derived from
1212
`reduce`. Custom containers can support many parallel algorithms by
1313
simply defining these functions.
1414

15-
SplittablesBase.jl also defines an experimental simple test utility
16-
functions `SplittablesBase.Testing.test_ordered(examples)` and
17-
`SplittablesBase.Testing.test_unordered(examples)` where some
18-
automatable tests are run against each example container in
19-
`examples`. This utility function is planned to be moved out to a
20-
separate package.
15+
[SplittablesTesting.jl](https://github.com/JuliaFolds/SplittablesTesting.jl)
16+
provides simple test utility functions
17+
`SplittablesTesting.test_ordered(examples)` and
18+
`SplittablesTesting.test_unordered(examples)` that run some
19+
automatable tests with each example container in `examples`.
2120

2221
See more in the
2322
[documentation](https://juliafolds.github.io/SplittablesBase.jl/dev).

docs/Project.toml

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
SplittablesBase = "171d559e-b47b-412a-8079-5efa626c420e"
4+
SplittablesTesting = "3bda5eb5-c32a-4f64-8618-df3be8968470"

docs/make.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using Documenter, SplittablesBase
1+
using Documenter, SplittablesBase, SplittablesTesting
22

33
makedocs(;
4-
modules=[SplittablesBase],
4+
modules=[SplittablesBase, SplittablesTesting],
55
format=Documenter.HTML(),
66
pages=[
77
"Home" => "index.md",

docs/src/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
SplittablesBase
55
SplittablesBase.halve
66
SplittablesBase.amount
7-
SplittablesBase.Testing.test_ordered
8-
SplittablesBase.Testing.test_unordered
7+
SplittablesTesting.test_ordered
8+
SplittablesTesting.test_unordered
99
```

src/test_ordered.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
SplittablesBase.Testing.test_ordered(examples)
2-
SplittablesBase.Testing.test_unordered(examples)
1+
SplittablesTesting.test_ordered(examples)
2+
SplittablesTesting.test_unordered(examples)
33

44
Run interface tests on each test case in `examples`.
55

src/testing.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ function countmap(xs)
118118
end
119119

120120
"""
121-
test_unordered(examples)
121+
SplittablesTesting.test_unordered(examples)
122122
123-
See [`test_ordered`](@ref).
123+
See [`test_ordered`](@ref Main.SplittablesTesting.test_ordered).
124124
"""
125125
function test_unordered(examples)
126126
@testset "$(getlabel(x))" for x in enumerate(examples)

0 commit comments

Comments
 (0)