.foundryignore
#4373
Replies: 1 comment 4 replies
-
Would a |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
in various projects i came now to the point where i got an ever increasing amount of tests, for things that are no longer relevant (e.g. because it was testing sth before execution at a certain block, but is now executed).
Now being in git obviously one could "remove" the test and find it in git history if ever needed.
While that works, it's a bit sad as tests can suite as a good documentation and reference for further code.
Therefore I'm wondering if it would be reasonable to follow the likes of
.*ignore
glob matchers to permanently ignore files from build/test/etc.I saw on the docs that for e.g. tests there is the option to
--match-contract
etc. to include or exclude but usage is cumbersome when i knowTestX is Test
i want to never run again so i could just runforge test
to run everything not currently ignored.Beta Was this translation helpful? Give feedback.
All reactions