Skip to content

test_runner: improve `--test-name-pattern` to allow matching single test

Try to match a test by name prefixed with all its ancestors to ensure uniqueness of the name

Fixes: https://github.com/nodejs/node/issues/46728

It adds a feature that is present in all major test runners. It's well described in this comment

It allows developers to quickly run/debug a single test e.g. from their editor


I am a first time contributor 😉

Merge request reports

Loading