deno test --watch
should always print the full test output
#24625
Labels
Milestone
deno test --watch
should always print the full test output
#24625
When running a suite of tests with
deno test --watch ./tests/
, all tests are run initially. As soon as a file is changed on disk, only the affected tests are re-run. This is great.What is less great is that the output is now trimmed down to only the tests that were executed. This means that I lose the overview over all tests as soon as I touch one of them. I have to either cancel the watch mode and start it again, or manually save a bunch of unchanged test files to slowly reveal all output again.
Consider the following workflow:
I suggest to keep the output from previous test runs in memory and to merge it with the new output. This would combine the best of both worlds: only affected tests are run, and the output of
deno test --watch
still reveals the results of the entire test suite.The text was updated successfully, but these errors were encountered: