SafeTestsets.jl
June 2, 2023 ยท View on GitHub
@safetestset puts @testset into a module.
You can use it by
using SafeTestsets
@safetestset "Benchmark Tests" begin include("benchmark_tests.jl") end
which makes a new module whose name is generated by gensym(), or
using SafeTestsets
@safetestset BenchmarkTests = "Benchmark Tests" begin include("benchmark_tests.jl") end
which makes a module named BenchmarkTests.