Skip to content

Commit 4e8406b

Browse files
tests: use parent testsets to summarize tests (#2877)
1 parent f5213cf commit 4e8406b

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

test/runtests.jl

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,27 @@ Pkg.DEFAULT_IO[] = IOBuffer()
2121

2222
include("utils.jl")
2323

24-
include("new.jl")
25-
include("pkg.jl")
26-
include("repl.jl")
27-
include("api.jl")
28-
include("registry.jl")
29-
include("subdir.jl")
30-
include("artifacts.jl")
31-
include("binaryplatforms.jl")
32-
include("platformengines.jl")
33-
include("sandbox.jl")
34-
include("resolve.jl")
35-
include("misc.jl")
36-
include("force_latest_compatible_version.jl")
37-
include("manifests.jl")
24+
@testset "Pkg" begin
25+
@testset "$f" for f in [
26+
"new.jl",
27+
"pkg.jl",
28+
"repl.jl",
29+
"pkg.jl",
30+
"repl.jl",
31+
"api.jl",
32+
"registry.jl",
33+
"subdir.jl",
34+
"artifacts.jl",
35+
"binaryplatforms.jl",
36+
"platformengines.jl",
37+
"sandbox.jl",
38+
"resolve.jl",
39+
"misc.jl",
40+
"force_latest_compatible_version.jl",
41+
"manifests.jl",
42+
]
43+
include(f)
44+
end
45+
end
3846

3947
end # module

0 commit comments

Comments
 (0)