Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.04 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.04 KB

Welcome to rskj-truffle-tests test suite

CircleCI

About

This is a Test Suite for Truffle compatibility validation of RSKj. It's implemented using NodeJS and Truffle and it's meant to test Smart Contracts deployment and execution. This is still a BETA but it's fully functional and tests can be incorporated.

Prerequisites

  • npm
  • RSKj node running on localhost and port 4444
  • Clone this repository
  • npm install

Configuration

Create the .env file in the root directory with the following variable:

TESTOMATIO=Testomat_API_KEY

Synchronize tests in testomat

  • Run the script sync_tests_testomat

Running tests

  • npm test

Adding Tests

Tests & Contracts can be added directly to the respective folders in order for the suite to execute them.

This repository also includes CircleCI configuration for workflows on commit/builds and daily job.