Implement full chain workflow testing on TestLoop #11382
Labels
A-testing
Area: Unit testing / integration testing
C-housekeeping
Category: Refactoring, cleanups, code quality
This is a big issue, aiming to simplify testing of chain logic, which would allow to replace huge setups like in
chunks_management
andcross_shard_tx
tests, and make tests deterministic. But there is a long way to that.The closest test is https://github.com/near/nearcore/blob/7b68efbd9bdce6c97841422891866941704b1601/chain/chunks/src/test/multi.rs. It was implemented only for chunk distribution and doesn't cover arbitrary chains.
We can keep improving the situation sequentially, by implementing tests where:
resharding
tests can be inspiring.chunks_management
are inspiring hereLooks like Runtime won't be involved which is also great.
We can create specific issues for each step and work on that.
Note that it doesn't make much sense to migrate existing tests because TestLoop setup is quite different. We should understand test ideas and reimplement them on TestLoop.
cc @robin-near @walnut-the-cat
Old issue #8512
The text was updated successfully, but these errors were encountered: