Skip to content

Commit

Permalink
Add solcoverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gjgd committed Nov 24, 2018
1 parent d6d5ec9 commit b7e4222
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
build/
node_modules/
coverage.json
coverage/
coverageEnv/
allFiredEvents
scTopics
5 changes: 5 additions & 0 deletions .solcover.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
testCommand: 'npm run test',
norpc: false,
copyPackages: ['zeppelin-solidity'],
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "test"
},
"scripts": {
"test": "truffle test"
"test": "truffle test",
"coverage": "./node_modules/.bin/solidity-coverage"
},
"author": "[email protected]",
"dependencies": {
Expand Down

0 comments on commit b7e4222

Please sign in to comment.