Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.56 KB

README.md

File metadata and controls

66 lines (42 loc) · 1.56 KB

tfgrid-sdk-dart

melos codecov

This repo contains the dart clients for Threefold grid.

Packages

Prerequisites

Make sure you have the following tools installed:

Initialize Workspace

To initialize workspace in all packages run the following command

melos bootstrap

Code Analysis

To analyze code in all dart package run the following command

melos run analyze

Run Unit Tests

To run unit tests in all packages that have test directory, run the following command

docker run --network host ghcr.io/threefoldtech/tfchain --dev --rpc-cors all --rpc-external --rpc-methods=safe

Then run :

melos run unit_test

Generate Coverage

To generate coverage for all packages and merge the results, use the following commands

melos run unit_test_and_coverage

Check results from result.txt with the following command

cat coverage/result.txt