-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
cliIssues and PRs related to the Node.js command line interface.Issues and PRs related to the Node.js command line interface.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.
Description
What is the problem this feature will solve?
For some environments, one or more tests should be skipped because they're testing functionality that's not supported.
For example, testing SSL connectivity in an environment that deliberately does not support it.
What is the feature you are proposing to solve the problem?
Similar to --test-name-pattern, there should be a option to specify a pattern to skip a subset of tests.
Suggestion: --skip-name-pattern – of course, like its related option, it can be specified multiple times.
What alternatives have you considered?
The alternative is to encode this using for example environment variables, rigging up tests using { skip: <runtime-skip-condition> }.
But this is less obvious and arguably less flexible.
tonivj5arjunanan6
Metadata
Metadata
Assignees
Labels
cliIssues and PRs related to the Node.js command line interface.Issues and PRs related to the Node.js command line interface.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.