You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In writing echidna tests, it's hard to know whether your properties are passing because the code is good, or if you are not getting coverage of the bad test cases, e.g. need to increase test gas limit
It would be great to be able to pass a parameter, e.g. --samples 100 and get 100 random examples of calls printed along with the test results for successful cases to have some visibility into the coverage that echidna is getting
The text was updated successfully, but these errors were encountered:
We are already working in coverage support and it works!. Check PR #516. To enable printing of covered code, you should use format: text and coverage: true in your .yaml file. The only issue is that we are blocked by this issue crytic/crytic-compile#112. The coverage won't print correctly if your source code uses more than one file (but you can flatten the contracts using slither --flatten).
This is great! Even with code coverage though, the inputs and the call order matters. Does this feature only print line level coverage? Or also show some information about the inputs?
So far this code only prints covered lines. You could, in teory, take a look to the corpusDir directory, but there is no easy way to check which input correspond to each line. We could easily print if the information per line, at least we want to signal the user if the line is covered in a revert or not but perhaps we could add more. Please let us know what you need.
In writing echidna tests, it's hard to know whether your properties are passing because the code is good, or if you are not getting coverage of the bad test cases, e.g. need to increase test gas limit
It would be great to be able to pass a parameter, e.g.
--samples 100
and get 100 random examples of calls printed along with the test results for successful cases to have some visibility into the coverage that echidna is gettingThe text was updated successfully, but these errors were encountered: