I’m trying to check the coverage of an entire ERC20 set of openzeppelin tests. I’m using openzeppelin/test-environment and solidity-coverage v0.7.4 as plugins in truffle. The tests went fine but I get odd results for coverage.
As you can see, only IERC20 got entirely covered, and ERC20 got nothing despite of this contract being the implementation of the IERC20 itself. SafeMath should have some coverage as well. Does anyone can explain this? This is my first time using solidity-coverage with openzeppelin contracts, any help is much appreciated.
1 Like
Hi @celioggr,
Welcome to the community
Do you mind sharing your setup? Do you have a repository that I could look at?
Solidity Coverage with OpenZeppelin Test Environment is part of the Q2 2020 roadmap but hasn’t been released yet.
Hi @abcoathup,
Yes, I noticed that what I’m trying to do is actually an enhancement already pointed out.
Regarding the setup, please refer to this repository.
Any ETA for this feature to be released?
If you could provide a workaround in the meantime, that would be awesome.
Thanks
1 Like
Hi @abcoathup,
Any updates on this matter?
Thanks
1 Like
Hi @celioggr,
I haven’t got any more details on an ETA unfortunately, other than it is in the Q2 roadmap.