-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
A-internalsArea: internalsArea: internalsfirst issueA good way to start contributingA good way to start contributing
Description
We currently initialize the default test projects with the default forge init
, however most of the time we wipe*
the project, or just ignore these files.
We can speed up our test suite by making the default contracts opt-in instead of opt-out.
- Pass --empty to
foundry_test_utils::util::initialize
:foundry/crates/test-utils/src/util.rs
Line 286 in 56aadcb
cmd.args(["init", "--force"]).assert_success(); - Add
fn initialize_default_contracts
toTestProject
for the tests that use them - And deal with the fallout in tests.
zerosnacks and mablr
Metadata
Metadata
Assignees
Labels
A-internalsArea: internalsArea: internalsfirst issueA good way to start contributingA good way to start contributing
Type
Projects
Status
Backlog