-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add support for the yarn test -f [externalPackage]
command
#7889
Comments
It works when you specify a package name. However, (I guess) the ticket is about supporting an option to test all packages inside an external repository. For the following tree:
The following command:
Should be translated to:
At this point, I would like to rename the requested option name: So, if you would like to execute all
And it will be resolved as:
|
This is a part I certainly don’t want to overcomplicate by introducing new resolution semantics etc. I like your proposal, on the other hand, the implementation becomes pretty ugly with our strategy of stripping the Maybe we could use |
I was thinking about it as well and it makes sense to have an option to test all packages from the root directory without removing external stuff. |
An option to run tests per repository seems to be fine 👍 |
Feature (tests): Introduced the --repositories (also known as -r) that allows specifying a name of a repository (or repositories, separated by a comma, similar to the --files option) where the tool should look for packages that should be tested. Thanks to that, you do not have to specify all packages of a repository that was cloned into the external/ directory. Closes ckeditor/ckeditor5#7889.
A follow-up to the environment unification. I feel we should add support for
yarn test -f [externalPackage]
when theexternalPackage
is cloned to theexternal
directory.cc @pomek
If you'd like to see this feature implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: