How to speed up re-running tests?

Is there a way to trigger precompile for the test without running the test?

Something I could put in setup.jl script so that tests are ready for quick running in test files?

1 Like

This is a little bit of a tangent, but I’ve found that if I use TidyTest.jl AND I use its @run_tests macro from the regular Julia REPL, I can run tests without recompiling. The author just recently documented how to do this in his README, and it’s kinda nice.

julia> using TidyTest

julia> cd("test")

julia> @run_tests verbose=true;
Test Summary:   | Pass  Total  Time
ReversedSeries  |    4      4  0.0s
  ReversedFrame |    3      3  0.0s
  Reversed      |    1      1  0.0s

2 Likes