- Docker - used to run a local Tezos node together with the LIGO compiler (If you're on linux, follow the post-installation steps as well)
- Node.js - Javascript runtime environment that we'll use for testing and deployment
- LIGO - High level programming language for the Tezos blockchain
- truffle@tezos - Testing framework, originally built for Ethereum that now includes support for Tezos.
- ganache-cli@tezos - Part of the Truffle suite of blockchain development tools. It creates isolated sandboxes using Flextesa to automate reproducible tests with faster networks.
- jq - a lightweight CLI JSON processor.
Make sure to have Docker running, node.js and jq installed.
npm i
npm run fix-ligo-version 0.3.0
npm run sandbox:start
npm run test
# runs all tests and can take more than 1 hour
npm run test -- ./test/unit/bridge/lock.js
# runs a specific test
npm run test -- ./test/unit/bridge/**
# runs all tests in that folder