Closed elenadimitrova closed 3 years ago
@elenadimitrova, I'd like to work on this if possible. I just had a few questions:
solidity-coverage
doesn't seem to be used as a shell command anymore. How are you producing the contract code coverage metrics?Thanks!
Thanks @spiyer99 ! Answers below:
Hi @spiyer99 are you working on this or shall I? We really need it :)
@elenadimitrova sorry a few things came up for me. Feel free to work on it.
Done as part of #1646
We run
solidity-coverage
to produce contract code coverage metrics. We should check these against thresholds for branch coverage to ensure we don't fall below the current state ofexperimental
branch (experimental
will soon be merged todevelop
but at the time of writing it's the branch you should be targeting). For this threshold check, it's recommended to useistanbul check-coverage
although we're open to alternative suggestions.