Mercurial > repos > public > sbplib_julia
changeset 713:be648c6d6686 feature/selectable_tests
Wrap each file in a testset
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sat, 20 Feb 2021 21:09:45 +0100 |
parents | de2df1214394 |
children | 11a444d6fc93 |
files | test/runtests.jl |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/runtests.jl Sat Feb 20 20:59:32 2021 +0100 +++ b/test/runtests.jl Sat Feb 20 21:09:45 2021 +0100 @@ -32,7 +32,9 @@ if endswith(name, "_test.jl") && occursin(glob, filepath) printstyled("Running "; bold=true, color=:green) println(filepath) - include(filepath) + @testset "$name" begin + include(filepath) + end end end end