foundry
foundry copied to clipboard
Run some `TestConfig` tests as scripts.
Component
Forge
Describe the feature you would like
Although forge test
and forge script
share many components, they do vary in their execution path. This leads to some issues (eg. https://github.com/foundry-rs/foundry/pull/3960) where the same cheatcode test passes on forge test
but it would fail on forge script
, and we don't know.
It would be nice if TestConfig
could be configurable to additionally run some tests as scripts. Ideally we'd enable it for every cheatcode test.
Additional context
No response