Repository navigation
test_runner: add initial CLI runner - #42658
Conversation
|
Review requested:
|
|
//cc @nodejs/test_runner |
ljharb
left a comment
There was a problem hiding this comment.
How does --test affect --require, or loaders? What happens to the REPL with node --test and no other arguments?
If NODE_OPTIONS='--test' is set, and the user doesn't control how node is invoked (via a shebang, for example), does this mean the user can never "undo" test mode?
This really feels to me like it should be an entirely distinct binary, rather than just a "mode" of the main node binary.
As this PR currently is |
|
@richardlau thanks, if that's explicitly going to never be allowed there then that does mitigate that one concern, but all the others remain. |
This commit introduces an initial version of a CLI-based test runner.