This document describes the Interbit Test Harness, a framework for developing software (specifically a covenant) that interacts with an Interbit blockchain.
-
Node.js, version 10.9, or higher.
-
Expertise with Promises() and asynchronous software development.
-
Familiarity with Blockchain concepts.
-
Expertise with Redux-Saga
Most development can be performed using the interbit-test-harness
NPM
package:
npm i --save interbit-test-harness
If you prefer to develop within the Test Harness repo, follow these steps:
- Clone the repo:
git clone git@github.com:interbit/test-harness.git
- Enter the repo's folder:
cd test-harness
Note: From now on, this folder is called the repo root.
-
Install the dependencies:
npm i
-
Invoke the tests:
npm run test
-
Invoke the tests, with a watcher (automatically re-runs tests on code updates in the current directory):
npm run test:watch