makoto / blockparty

NO BLOCK NO PARTY
MIT License
164 stars 41 forks source link

100% test coverage #148

Closed makoto closed 6 years ago

makoto commented 6 years ago

From

-----------------|----------|----------|----------|----------|----------------|
File             |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
-----------------|----------|----------|----------|----------|----------------|
 contracts/      |       96 |     91.3 |     91.3 |    97.59 |                |
  Conference.sol |    96.61 |    92.11 |    94.12 |    98.44 |            132 |
  GroupAdmin.sol |    93.75 |     87.5 |    83.33 |    94.74 |             44 |
-----------------|----------|----------|----------|----------|----------------|
All files        |       96 |     91.3 |     91.3 |    97.59 |                |
-----------------|----------|----------|----------|----------|----------------|

To

-----------------|----------|----------|----------|----------|----------------|
File             |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
-----------------|----------|----------|----------|----------|----------------|
 contracts/      |      100 |    95.45 |      100 |      100 |                |
  Conference.sol |      100 |    97.22 |      100 |      100 |                |
  GroupAdmin.sol |      100 |     87.5 |      100 |      100 |                |
-----------------|----------|----------|----------|----------|----------------|
All files        |      100 |    95.45 |      100 |      100 |                |
-----------------|----------|----------|----------|----------|----------------|

To run the sol cover by your self

./node_modules/.bin/solidity-coverage