Skip to content

test_runner: improve --test-name-pattern to allow matching single test#51577

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
mdrobny:feat/test-runner-match-unique-name
Mar 1, 2024
Merged

test_runner: improve --test-name-pattern to allow matching single test#51577
nodejs-github-bot merged 1 commit intonodejs:mainfrom
mdrobny:feat/test-runner-match-unique-name

Conversation

@mdrobny
Copy link
Contributor

@mdrobny mdrobny commented Jan 27, 2024

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

Fixes: #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 😉

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. needs-ci PRs that need a full CI run. semver-major PRs that contain breaking changes and should be released in the next major version. test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test runner should allow specific subtest filtering, via --test-name-pattern or otherwise

6 participants