Skip to content

Execute OpenZeppelin tests in parallel #63

@bee344

Description

@bee344

Currently OZ tests are executed through npx hardhat test. This runs a substrate-node and an eth-rpcin the background, and then runs the tests against it.

The idea is to run several instances of the node at the same time and distribute the workload among them. The problem now is that npx hardhat test already spins up a node instance, and the tests are being ran against that instance. We'd have to run the tests via a runner such as the one used for matter-labs, that selects a subset of tests to run and spins up a node exclusive for those. This could be achieved via adding a network to the hardhat.config file and using that when running npx hardhat test --network NETWORK, but further research is needed to confirm this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions