Forge Standard Library is a collection of helpful contracts for use with forge and foundry. It leverages forge's cheatcodes to make writing tests easier and faster, while improving the UX of cheatcodes. For more in-depth usage examples checkout the tests.
Includes:
getArtifactPathBy{,Deployed}Code
https://github.com/foundry-rs/foundry/pull/8938parseTomlType
https://github.com/foundry-rs/foundry/pull/8911expect{,Partial}Revert(..., address)
https://github.com/foundry-rs/foundry/pull/8770skip(bool, string)
https://github.com/foundry-rs/foundry/pull/8858random{Bool,Bytes,Int}
https://github.com/foundry-rs/foundry/pull/8938I've also split the
interfaceId
test into two so that you can get both values to update at once.Supersedes https://github.com/foundry-rs/forge-std/pull/608.