ReTest.jl
ReTest.jl copied to clipboard
print testset name while waiting for results?
Taking the example from the docs:
julia> retest("greet", verbose=2) # run only tests related to `greet()`
Pass
MyPackage:
greet | 1
If greet
was super slow, you'd get
julia> retest("greet", verbose=2) # run only tests related to `greet()`
Pass
MyPackage:
while waiting for greet
to finish running. I think it would be nice if instead it showed
julia> retest("greet", verbose=2) # run only tests related to `greet()`
Pass
MyPackage:
greet |
so you knew which test was running. (Especially for when you do shuffle=true
!). I.e. it could print the testset name while waiting to print the pass
.
So this is kinda already implemented, controlled by the spin
keyword argument of retest
, but this requires typically that Threads.nthreads() > 1
. When spin is not active, we could definitely print the test name without the spinner.