rtfeldman / node-test-runner

Runs elm-test suites from Node.js. Get it with npm install -g elm-test
BSD 3-Clause "New" or "Revised" License
132 stars 79 forks source link

Print statistics/progress on signal SIGUSR1 (Linux) / SIGINFO (macOS) #620

Open Janiczek opened 1 year ago

Janiczek commented 1 year ago

There's this idea of printing out progress to the user if a signal is sent to the running process (eg. with Ctrl+T on macOS or with kill -USR1 $PID on Linux)

For long-running elm-test instances, it might be nice to be able to get some progress info (eg. which tests are still running, how many fuzz iterations are left for each, how many failures has it already found, ...) mid-run.

avh4 commented 1 year ago

imo this would be a pretty obscure UI for most users. The goal seems to be giving interactive users a way to know what's happening when a test run is long. For that goal, imo the alternative https://github.com/rtfeldman/node-test-runner/issues/169 would be better.

Adding a comment there: https://github.com/rtfeldman/node-test-runner/issues/169#issuecomment-1301029050