From a1d241da668f12a2f2f16d790310cb3fc178aa41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Sun, 12 Oct 2025 13:28:01 +0100 Subject: [PATCH 1/2] Show colorful output for `basic` tests --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index ea9ba3f..a4f4de5 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,12 +7,12 @@ using Test, IOCapture println() println("Showing the output of one test run:") println("-"^80) - c = IOCapture.capture(passthrough=true) do + c = IOCapture.capture(passthrough=true, color=true) do runtests(["--verbose"]) end println("-"^80) println() - @test contains(c.output, r"basic .+ started at") + @test contains(c.output, r"basic.*started at") @test contains(c.output, "SUCCESS") end From 7b6839055889705885ba44cf3721618ac51a71a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Sun, 12 Oct 2025 13:28:24 +0100 Subject: [PATCH 2/2] Deemphasize "started at" message --- src/ParallelTestRunner.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index 0684ce3..d2bdd1f 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -438,7 +438,7 @@ function runtests(ARGS; testfilter = Returns(true), RecordType = TestRecord, printstyled(name, color = :white) printstyled( lpad("($wrkr)", name_align - textwidth(name) + 1, " "), " |", - " "^elapsed_align, "started at $(now())\n", color = :white + " "^elapsed_align, "started at $(now())\n", color = :light_black ) finally unlock(print_lock)