poanetwork / poa-popa

DApp for proof of physical address (PoPA) attestation for validators of POA Network
https://popa.poa.network
GNU General Public License v3.0
24 stars 18 forks source link

(Test) Add solidity-coverage #43

Closed fvictorio closed 6 years ago

fvictorio commented 6 years ago

This adds solidity-coverage to get a coverage report of the smart contract tests.

This is a first step. There are some hacky things done to make the tool work (it's still in an early stage of development), and there are some pending things to do:

  1. Use the version of truffle that is in node_modules (right now it assumes that truffle is globally installed). This will be necessary for running it in the CI server.
  2. Add the coverage report to the coveralls script in the root directory.
coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 40


Totals Coverage Status
Change from base Build 37: 0.0%
Covered Lines: 62
Relevant Lines: 739

💛 - Coveralls