0.0.8 • Published 2 years ago

@tact-lang/coverage v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

TON Code Coverage

This package provides a set of tools to build a code coverage report for TON smart contracts. Integrated directly with @tact-lang/emulator.

Installation

yarn add @tact-lang/coverage @ton/core @ton/crypto

Usage

import { beginCoverage } from "@tact-lang/coverage";

// Call this function before you start executing your contract.
beginCoverage();

// ... Execute your contract via @tact-lang/emulator

// Generate report
completeCoverage('... path to boc files with contracts ...');

// Find out the coverage report next to boc file

License

MIT

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago