Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0age/minimal-solidity-coverage-test

A minimal example of code coverage using solidity-coverage, with a custom web3.js 1.0 script (instead of truffle test) for testing.
https://github.com/0age/minimal-solidity-coverage-test

coverage coverage-report coverage-testing coveralls ethereum ethereum-contract solidity solidity-contracts testing travis-ci web3 web3js

Last synced: about 1 month ago
JSON representation

A minimal example of code coverage using solidity-coverage, with a custom web3.js 1.0 script (instead of truffle test) for testing.

Awesome Lists containing this project

README

        

# Minimal solidity-coverage test

[![Build Status](https://travis-ci.com/0age/minimal-solidity-coverage-test.svg?branch=master)](https://travis-ci.com/0age/minimal-solidity-coverage-test)
[![Coverage Status](https://coveralls.io/repos/github/0age/minimal-solidity-coverage-test/badge.svg?branch=master)](https://coveralls.io/github/0age/minimal-solidity-coverage-test?branch=master)

A minimal example of code coverage using [solidity-coverage](https://github.com/sc-forks/solidity-coverage), with a custom [web3.js](https://github.com/ethereum/web3.js) 1.0 script (instead of `truffle test`) for testing.

```
git clone https://github.com/0age/minimal-solidity-coverage-test
cd minimal-solidity-coverage-test
yarn install
yarn test
```