Testing and Code Coverage of Solidity Smart Contracts

Gareth Oates
Aug 6, 2018 · 3 min read
Code metrics
sudo: required
language: node_js
node_js:
- "8"
services:
- docker
before_install:
- docker pull trufflesuite/ganache-cli
- docker run -d -p 8545:8545 trufflesuite/ganache-cli:latest -h 0.0.0.0
install:
- npm install -g truffle
- npm install -g coveralls
- npm install
script:
- npm run coverage && cat coverage/lcov.info | coveralls
”coverage”: “./node_modules/.bin/solidity-coverage”
coveralls.io coverage report for edgefund-core repository master branch

edgefund

EdgeFund

Gareth Oates

Written by

Professional software engineer of 10 years. C#, JavaScript and Solidity developer. Co-Founder and senior developer at EdgeFund

edgefund

edgefund

EdgeFund