I want to use multithreading to speed up my test suite, but it seems to “hide” the tests from the test set. Any idea why?
julia> using Base.Threads
julia> using Test
julia> @testset "Sequential" begin
for i in 1:10
@test true
end
end;
Test Summary: | Pass Total Time
Sequential | 10 10 0.0s
julia> @testset "Parallel" begin
@threads for i in 1:10
@test true
end
end;
Test Summary: |Time
Parallel | None 0.1s
Related thread: Run Pkg.test with several processors
Unrelated thread: Test code with multi-threading (they want to test multithreaded code, not test code in a multithreaded way)