- Install
parachains-integration-tests
npm package - Github repoyarn global add @parity/parachains-integration-tests
- Install locally particular npm package dependancies required by the integration tests
yarn
polkadot
,polkadot-parachain
andwatr-node
compiled binaries should be copied to./bin
folder- The
polkadot-parachain
should be compiled from one of the parachains release branches from Cumulus. Ans example is this branch - The
polkadot
binary should be compiled withfast-runtime
feature from a release branch withsudo
pallet on it. An example is this branchcargo build --release --features fast-runtime
- The
- From the repository root folder, run:
- For Devnet:
parachains-integration-tests -m zombienet-test -t ./integration-tests/runtimes/devnet/ -c ./integration-tests/runtimes/devnet/config.toml
- For Mainnet:
parachains-integration-tests -m zombienet-test -t ./integration-tests/runtimes/mainnet/ -c ./integration-tests/runtimes/mainnet/config.toml
- For Devnet:
- Wait until all tests pass