Closed
Description
the question of global configuration for the test runner was raised on a few places,
- global timeout (test_runner: support timeout for tests #43505)
- reporters (node:test logs verbose feature #43574 (comment)) (console.log() does not work in the test runner #43034 (comment))
- gracful exit (test_runner: cancel on termination #43549 (comment))
- global concurrency
- test filtering (Add command-line test filtering to
node:test
#42984)
I think it is worth a small discussion about how to provide the ability to globaly configure the test runner.
a few things that might have already been noted in the above links:
- adding many cli flags dedicated for the test might be hard to maintain
- test runner potentially runs in multiple processes so propagation of the global configuration needs to be considered