[ANN] TestProgressMeter

Running tests can be stressful, especially if they take a bit longer. Is anything even still happening? Is one of your functions stuck in an infinite loop? Has time itself frozen?

For that purpose, I wrote TestProgressMeter, a simple package that exports a function insertProgress which inserts little markers at each @test and enables some version of progress-indicator (from ProgressMeter.jl) to run alongside your tests.

Gone is the anxiety of longer numerical tests: a look at the progress-indicator-thingy shows that stuff happens.

Maybe somebody else knows that feeling.

Demo:
asciicast

To undo insertProgress, use removeProgress. And backup your files beforehand, this is my first attempt at such a thing and I can’t guarantee everything working well, although it works for me (on linux).

10 Likes