You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment we use the ci_test/test make target from the Makefile located at crates/l2.
We may want to test some functionalities of the following modules/structures/abstractions:
EthClient
sdk
calldata parser
We can take advantage of the setup the ci_test performs. For example, if we want to add a new test we can do the following, and then we can run the tests with:
cargo test l2 --release -- --nocapture --test-threads=1
--test-threads=1 is to avoid parallelization, if we use the same account we may have some troubles, we can use a different rich account for each test, in that way we shouldn't have problems. cargo test l2 will match tests that has l2 in the function. [docs]
PR #1619 has the first test for an sdk's function (deploy())
The text was updated successfully, but these errors were encountered:
At the moment we use the
ci_test
/test
make target from the Makefile located atcrates/l2
.We may want to test some functionalities of the following modules/structures/abstractions:
EthClient
sdk
calldata parser
We can take advantage of the setup the
ci_test
performs. For example, if we want to add a new test we can do the following, and then we can run the tests with:cargo test l2 --release -- --nocapture --test-threads=1
--test-threads=1
is to avoid parallelization, if we use the same account we may have some troubles, we can use a different rich account for each test, in that way we shouldn't have problems.cargo test l2
will match tests that has l2 in the function. [docs]PR #1619 has the first test for an sdk's function (
deploy()
)The text was updated successfully, but these errors were encountered: