-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lightweight testlib
#4622
Lightweight testlib
#4622
Conversation
… into 'integraton_tests'
… into 'integraton_tests'
… into 'integraton_tests'
…rcular dependencies.
… into 'integraton_tests'
… into 'integraton_tests'
… into 'integraton_tests'
…y dependency on RuntimeNode outside of integration tests
… depending on it into 'integration-tests', also move 'testlib_test_helpers'. 'testlib/run_nodes.rs' is special, turn it into a crate that depends on 'integration_tests'
… tests into 'integration-tests'
… tests into 'integration-tests'
# Conflicts: # Cargo.lock # integration-tests/Cargo.toml # integration-tests/tests/client/chunks_management.rs # integration-tests/tests/test_errors.rs # runtime/runtime/src/state_viewer/mod.rs # test-utils/testlib/src/lib.rs # test-utils/testlib/src/runtime_utils.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see many things move around. The whole reorg makes total sense to me, but I fear I could miss some minor details among the changes; are there any?
Also, can we measure the wins that we achieve with this reorg (e.g. compilation / testing times)? I would love to see those
Just to bring some color here, @miraclx is also working on quality of life improvements for nearcore codebase, and here is a recent win: #4651 (comment) @nikurt Thanks for pulling this out! |
|
|
Created #4670 to remove |
|
# Conflicts: # test-utils/run-nodes/src/main.rs
Remove the dependency of
testlib
onnearcore
by extracting tests and code dependeing onnearcore
intointegration-tests
.