Improve and unify testing facilities (#1844)
* Improve and unify testing facilities This improves the testing facilities by making the test client easier to use. It also removes code that is not required for the test client. Besides that it also moves the test service and test client under `node/test`. * Update Cargo.lock * Update node/test/client/src/block_builder.rs Co-authored-by:Andronik Ordian <write@reusable.software> * Remove explicit lifetime annotation * Fix warnings and add extra `BlockBuilderExt` Co-authored-by:
Andronik Ordian <write@reusable.software>
Showing
- polkadot/Cargo.lock 53 additions, 34 deletionspolkadot/Cargo.lock
- polkadot/Cargo.toml 2 additions, 3 deletionspolkadot/Cargo.toml
- polkadot/node/service/Cargo.toml 2 additions, 3 deletionspolkadot/node/service/Cargo.toml
- polkadot/node/service/src/grandpa_support.rs 9 additions, 17 deletionspolkadot/node/service/src/grandpa_support.rs
- polkadot/node/test/client/Cargo.toml 16 additions, 15 deletionspolkadot/node/test/client/Cargo.toml
- polkadot/node/test/client/src/block_builder.rs 102 additions, 0 deletionspolkadot/node/test/client/src/block_builder.rs
- polkadot/node/test/client/src/lib.rs 117 additions, 0 deletionspolkadot/node/test/client/src/lib.rs
- polkadot/node/test/service/Cargo.toml 9 additions, 8 deletionspolkadot/node/test/service/Cargo.toml
- polkadot/node/test/service/src/chain_spec.rs 9 additions, 11 deletionspolkadot/node/test/service/src/chain_spec.rs
- polkadot/node/test/service/src/lib.rs 87 additions, 67 deletionspolkadot/node/test/service/src/lib.rs
- polkadot/node/test/service/tests/build-blocks.rs 0 additions, 0 deletionspolkadot/node/test/service/tests/build-blocks.rs
- polkadot/node/test/service/tests/call-function.rs 1 addition, 1 deletionpolkadot/node/test/service/tests/call-function.rs
- polkadot/runtime/test-runtime/client/src/lib.rs 0 additions, 343 deletionspolkadot/runtime/test-runtime/client/src/lib.rs
- polkadot/runtime/test-runtime/src/lib.rs 13 additions, 0 deletionspolkadot/runtime/test-runtime/src/lib.rs
Please register or sign in to comment