This repository contains the integration test for aleo-setup (setup1-contributor and setup1-verifier binaries), and the aleo-setup-coordinator.
Before running, you need to have the following installed:
rustup, and the required linker for you system. (on Ubuntu this involves installingbuild-essentialmost likely).- openssl development headers (
libssl-devandpkg-configon Ubuntu). - Python 3 with
pip(if you want to use thealeo-setup-state-monitor).
Install the stable version of rust to compile this integration testing software:
rustup install stableYou can run a integration tests with the following command where test.ron is the test specification:
cargo run -- test.ronSee example-config.ron in the repository root for an example of the configuration format. They use the Rusty Object Notation (RON) format, there are editor extensions available. This format was chosen because it allows structured/nested data (like JSON) but also allows comments and looser formatting for handwritten files (like TOML).
If you wish to use repositories checked out on your local computer you can supply the following configuration options (replacing the existing ones) at the beginning of the ron test file:
aleo_setup_repo: (
type: "Local",
dir: "../aleo-setup",
),
aleo_setup_coordinator_repo: (
type: "Local",
dir: "../aleo-setup-coordinator",
),
aleo_setup_state_monitor_repo: (
type: "Local",
dir: "../aleo-setup-state-monitor",
),dir is the relative path to where you have the git repository checked out.