starknet-foundry
starknet-foundry copied to clipboard
Feat add exclude pattern running tests
Closes #1512
Introduced changes
- Added an
--exclude
flag that functions similarly to the existingFilterName
. This flag allows users to exclude tests based on their names. - Note: The current filter functionality works without a specific flag (
snforge test simple_test
launches all tests beginning with "simple_test", rather than requiringsnforge test --filter simple_test
). Given this, I believe the new--exclude
option might not be compatible with the existing filter option. What do you think?
Checklist
- [ ] Linked relevant issue
- [ ] Updated relevant documentation
- [ ] Added relevant tests
- [ ] Performed self-review of the code
- [ ] Added changes to
CHANGELOG.md