starknet-foundry icon indicating copy to clipboard operation
starknet-foundry copied to clipboard

Feat add exclude pattern running tests

Open julienbrs opened this issue 6 months ago • 0 comments

Closes #1512

Introduced changes

  • Added an --exclude flag that functions similarly to the existing FilterName. 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 requiring snforge 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

julienbrs avatar Aug 09 '24 22:08 julienbrs