chore: turn forge coverage
and forge snapshot
into forge test
flags (--coverage
, --snapshot
)
#9528
Labels
A-internals
Area: internals
T-chore
Type: chore
T-likely-breaking
Type: requires changes that can be breaking
T-to-discuss
Type: requires discussion
Component
Forge
Describe the feature you would like
Proposal: merge
forge coverage
andforge snapshot
intoforge test
, expose them with feature flags (--coverage
,--snapshot
). This is in line with other reports like--gas-report
.This would simplify
forge test
compatibility issues described in #9525 and make it easier to flag incompatible flags (current limitation because ofTestArgs
inheritance)We should also refactor
run_tests
method inforge test
into helpersThis is a significant breaking change for scripted workflows i.e. https://github.com/atarpara/foundry-snapshot-diff and CI's of users.
The text was updated successfully, but these errors were encountered: