Skip to content

How to exclude Foundry test from Slither? #1866

Closed Answered by 0xalpharush
gagiuntoli asked this question in Q&A
Discussion options

You must be logged in to vote

UPDATE: you should be able to accomplish this by doing forge build --build-info --skip test script && && slither . --ignore-compile. Note, this assumes that there is not a slither.config.json. Will consider making this more straightforward in future releases

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gagiuntoli
Comment options

Answer selected by gagiuntoli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants