git.delta.rocks / unique-network / refs/commits / f54ae82ec2a7

difftreelog

source

tests/README.md664 Bsourcehistory
1# Tests23## Prepare test environment451. Checkout polkadot in sibling folder with this project6```bash7git clone https://github.com/paritytech/polkadot.git && cd polkadot8git checkout release-v0.9.99```10112. Build with nightly-2021-06-2812```bash13cargo build --release14```15163. Build the project17184. Checkout polkadot-launch in the sibling folder:19```bash20git clone https://github.com/paritytech/polkadot-launch && cd polkadot-launch21```22235. Run launch-test-env.sh from the root of this project242526## How to run tests27281. Run `yarn install`.292. Optional step - configure tests with env variables or by editing [configuration file](src/config.ts).303. Run `yarn test`.31