Skip to content
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

Support selecting packages #1998

Open
cptartur opened this issue May 26, 2023 · 3 comments
Open

Support selecting packages #1998

cptartur opened this issue May 26, 2023 · 3 comments

Comments

@cptartur
Copy link
Member

cptartur commented May 26, 2023

Currently test runner will run all tests within a Scarb workspace. We should provide a mechanism for selecting specific packages using globs, similarly to cargo test.

Useful:

@cptartur cptartur added the asap This task blocks/conflicts with another tasks or is very important label May 26, 2023
@cptartur cptartur added this to the CLI for rust test runner milestone May 26, 2023
@MaksymilianDemitraszek
Copy link
Contributor

Shouldn't this be a responsibility of Scarb?

@cptartur
Copy link
Member Author

I don't think this can be easily handled in Scarb. Scarb metadata rust package will find all packages within a workspace you are currently in.

Filtering which packages to run tests on has to be done on our side. Metadata even added an ability to easily filter packages specifically for this purpose.

@cptartur cptartur removed the asap This task blocks/conflicts with another tasks or is very important label Jun 6, 2023
@MaksymilianDemitraszek
Copy link
Contributor

Blocked by scarb workspaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants