Closed fforbeck closed 3 years ago
Are you sure this is a problem of Test Environment and not of solidity-coverage?
hi @frangio, not sure. I was wondering if due to the fact that the test env uses the runCoverage
custom script to trigger the sol-
cover I could be missing some configuration.
Since I've migrated from truffle tests to OZ Test env, and added
evm_snapshot
before the tests +evm_revert <snapshot-id>
after each test case, the report of the code coverage does not show the correct coverage.For instance:
Any ideas on what could be causing this problem?
Before that change to OZ test env + Chain Snapshot the code coverage was ~80%.
Thanks