You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AVA 2 removed glob support from the CLI, under the assumption that user's shells could expand globs instead. This assumption has proven wrong, however.
Currently, positional arguments passed on the CLI are assumed to be test files. They're executed even if they're not matched by the files configuration.
The proposal is to treat the positional arguments as a filter over the configured files. This should use micromatch so glob patterns are supported.
This is a breaking change, since it'll no longer be possible to execute test files that are not matched by the files configuration. We should start with this behavior being an opt-in experiment (see the experiments here).
The text was updated successfully, but these errors were encountered:
Rather than providing paths to specific test files, allow
micromatch-compatible patterns to be provided on the CLI. These then
select a subset of test files.
This does mean that the files patterns in AVA's configuration need to
select all desired test files: you can no longer run a different file.
Fixes#2281.
Rather than providing paths to specific test files, allow
micromatch-compatible patterns to be provided on the CLI. These then
select a subset of test files.
This does mean that the files patterns in AVA's configuration need to
select all desired test files: you can no longer run a different file.
Fixes#2281.
Rather than providing paths to specific test files, allow
micromatch-compatible patterns to be provided on the CLI. These then
select a subset of test files.
This does mean that the files patterns in AVA's configuration need to
select all desired test files: you can no longer run a different file.
Fixes#2281.
Rather than providing paths to specific test files, allow
micromatch-compatible patterns to be provided on the CLI. These then
select a subset of test files.
This does mean that the files patterns in AVA's configuration need to
select all desired test files: you can no longer run a different file.
Fixes#2281.
AVA 2 removed glob support from the CLI, under the assumption that user's shells could expand globs instead. This assumption has proven wrong, however.
Currently, positional arguments passed on the CLI are assumed to be test files. They're executed even if they're not matched by the
files
configuration.The proposal is to treat the positional arguments as a filter over the configured
files
. This should use micromatch so glob patterns are supported.This is a breaking change, since it'll no longer be possible to execute test files that are not matched by the
files
configuration. We should start with this behavior being an opt-in experiment (see the experiments here).The text was updated successfully, but these errors were encountered: