starknet-foundry
starknet-foundry copied to clipboard
Add `--exclude` flag for executing tests
Which component is your feature related to?
Forge
Feature Request
Add an option to specify an --exclude flag, that will treat the regex passed as the tests to omit, and execute everything else
This will probably be implemented as --skip flag (snforge test --skip <filter> to mimic cargo test behavior (it takes skip filter with this syntax cargo test -- --skip <filter>.
The --exclude flag is used to filter packages in cargo so we think it makes more sense to follow their naming conventions.
Being worked on as part of the linked issue