node icon indicating copy to clipboard operation
node copied to clipboard

Unit tests

Open ltfschoen opened this issue 5 years ago • 1 comments

We should have comprehensive unit tests (i.e. for example, here are the unit tests in the "roaming networks" runtime module: https://github.com/DataHighway-com/node/blob/master/packages/roaming/roaming-networks/src/lib.rs#L252) in each runtime module. These are currently not fully complete.

Currently we have an integration test that covers most of the user flows across multiple runtime modules (i.e. for example, here is the proposed flow of setting up roaming https://github.com/DataHighway-com/node/blob/master/runtime/tests/cli_integration_tests.rs#L264).

We should wait until the architecture of runtime modules is finalised, and then go through the integration test and find relevant aspects that should also be included in individual runtime modules

ltfschoen avatar Jan 21 '20 22:01 ltfschoen

We also need comprehensive unit tests for mining_eligibility_proxy, as the integration tests don't cover all edge cases

ltfschoen avatar Apr 06 '21 17:04 ltfschoen