Giter Club home page Giter Club logo

aleo-setup-integration-test's Introduction

Aleo Setup Integration Test

This repository contains the integration test for aleo-setup (setup1-contributor and setup1-verifier binaries), and the aleo-setup-coordinator.

Prerequisites

Before running, you need to have the following installed:

  • rustup, and the required linker for you system. (on Ubuntu this involves installing build-essential most likely).
  • openssl development headers (libssl-dev and pkg-config on Ubuntu).
  • Python 3 with pip (if you want to use the aleo-setup-state-monitor).

Install the stable version of rust to compile this integration testing software:

rustup install stable

Building/Running

You can run a integration tests with the following command where test.ron is the test specification:

cargo run -- test.ron

See 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).

Using Local Repositories

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.