Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Consolidate tests and testing utilities #10591

@sandreim

Description

@sandreim

Not all Substrate testing utilities are available to Polkadot/Cumulus which currently duplicate the initial Substrate implementation.
For example the Substrate cli integration tests (https://github.com/paritytech/substrate/tree/master/bin/node/cli/tests) have been improved to use RPC APIs instead of sleeping to wait for block production, while Polkadot tests are lagging: https://github.com/paritytech/polkadot/tree/master/tests.

We need to take a pass on all of these tests and see if they can be reused or at least the testing utilities can be exported to minimize code duplication and future divergence in Polkadot/Cumulus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I5-testsTests need fixing, improving or augmenting.I7-refactorCode needs refactoring.U2-some_time_soonIssue is worth doing soon.Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions