-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_runner: warn if only
is used without properly enabling only tests
#46448
Labels
feature request
Issues that request new features to be added to Node.js.
test_runner
Issues and PRs related to the test runner subsystem.
Comments
cjihrig
added
feature request
Issues that request new features to be added to Node.js.
test_runner
Issues and PRs related to the test runner subsystem.
labels
Jan 31, 2023
@cjihrig I can take a look at this one, if nobody else has picked it up.
|
I think either |
I think we should prefer a test diagnostic. |
MoLow
pushed a commit
to MoLow/node
that referenced
this issue
Feb 25, 2023
PR-URL: nodejs#46540 Fixes: nodejs#46448 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MoLow
pushed a commit
to MoLow/node
that referenced
this issue
Feb 25, 2023
PR-URL: nodejs#46540 Fixes: nodejs#46448 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MoLow
pushed a commit
to MoLow/node
that referenced
this issue
Feb 25, 2023
PR-URL: nodejs#46540 Fixes: nodejs#46448 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature request
Issues that request new features to be added to Node.js.
test_runner
Issues and PRs related to the test runner subsystem.
What is the problem this feature will solve?
only
tests require enabling only mode, otherwiseonly
does nothing. This can lead people to think thatonly
does not work.What is the feature you are proposing to solve the problem?
The test runner should warn if someone tries to use
only
without properly enabling it.What alternatives have you considered?
Doing nothing.
The text was updated successfully, but these errors were encountered: