-
Notifications
You must be signed in to change notification settings - Fork 2.6k
try-runtime-cli docs and tests #13796
Comments
There are more example node tests here, just as an idea of how to do it in Substrate https://github.com/paritytech/substrate/blob/8a9f48bcf0c9f92949082535d77c12166522bb2f/bin/node/cli/tests/ |
Thanks! |
@liamaharon Just to let you know I am looking to rewrite the example part of the |
@liamaharon If you haven't already started working on it, I would like to create a PR that covers |
I'm not currently working on these, go ahead @Szegoo |
Moved to paritytech/try-runtime-cli#10 |
At least one try-runtime-cli command passes parameters in the incorrect order (https://substrate.stackexchange.com/q/7902/3991).
Need to audit all the examples in the docs and fix any issues, and write some CLI tests to make sure they don't break in the future.
We should also write some CLI tests. See
subtrate
CLI and I believe this repo is using similar testing patterns https://github.com/paritytech/staking-miner-v2/tree/main/tests for an examples on how to write the tests.Docs
Tests
follow-chain
Fixtry-runtime follow-chain
, try-runtime upgrade tuple tests, cli test utils #13794on-runtime-upgrade
offchain-worker
execute-block
try-runtime-cli:execute-block
&create-snapshot
tests #14343create-snapshot
try-runtime-cli:execute-block
&create-snapshot
tests #14343The text was updated successfully, but these errors were encountered: