foundry icon indicating copy to clipboard operation
foundry copied to clipboard

Run some `TestConfig` tests as scripts.

Open joshieDo opened this issue 2 years ago • 0 comments

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

joshieDo avatar Dec 26 '22 04:12 joshieDo