Skip to content

How can I know which test case covers which lines, and how many times? #209

@maxxbw54

Description

@maxxbw54

Hi authors,

Thank you for your pretty awesome tool! I like it very much!

So far, after apply solidity-coverage, I know how many times that a loop/statement/branch/function of a contract is executed.

One question I'd like to ask is that how can I know which lines of a smart contract have been run by which test case? For example, let's say the 3rd statement of contract A is executed 5 times during the test, how can I know which test cases contribute the 5 times executions?

Please kindly advise.

Thanks again for your great tool!

Bowen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions