diff test/runtests.jl @ 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 df88aee35bb9
children 1c5600a711ae
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