-
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
Unexpected breaking change in Test Runner in v21 #50219
Comments
I warned about this exact behavior change in the original PR: #47653 (comment) The reasoning seems to be that performance would be impacted and it would be hard to understand which files are selected by a glob and which aren't. While I think the breaking change is unfortunate, I think it's somewhat reasonable because with a glob you can specify file extensions properly, for example, while the v20 test runner only ever loads files with very specific names. |
@MoLow is this expected behavior with the new glob support? |
Yes, |
I suppose this can be closed then? |
Also, it seems like if you don't specify a directory the default glob works. So for some people replacing |
Version
v21.0.0
Platform
windows 11
Subsystem
No response
What steps will reproduce the bug?
As from official v20 documentation (Running tests from the command line) it was allowed to run tests in following command:
But in v21 it is not working anymore:
Why is it a breaking change for stable API ?
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
Stable API from official documentation should not be changed in every major version
What do you see instead?
see "What steps will reproduce the bug" chapter
Additional information
No response
The text was updated successfully, but these errors were encountered: