POA TokenBridge / E2E-Commons

July 14, 2020 ยท View on GitHub

Common scripts and configuration for the end-to-end tests.

Usage

Spin up parity networks, redis, rabbit, e2e container needed for end-to-end tests:

./up.sh [components]

Shut down and cleans up containers, networks, services, running scripts:

./down.sh

Components

ComponentDescription
deployDeploys the Smart Contracts
oracleLaunches Oracle containers
oracle-validator-2Launches Oracle containers for second validator
oracle-validator-3Launches Oracle containers for third validator
uiLaunches UI containers
blocksAuto mines blocks
monitorLaunches Monitor containers
native-to-ercCreates infrastructure for ultimate e2e testing, for native-to-erc type of bridge
erc-to-nativeCreates infrastructure for ultimate e2e testing, for erc-to-native type of bridge
erc-to-ercCreates infrastructure for ultimate e2e testing, for erc-to-erc type of bridge
ambCreates infrastructure for ultimate e2e testing, for arbitrary message type of bridge
ultimate-amb-stake-erc-to-ercCreates infrastructure for ultimate e2e testing, for stake token bridge

Ultimate e2e testing

For more information on the Ultimate e2e testing, please refer to Ultimate.