Skip to content

ability to run coverage against a external test runner #798

Open
@wighawag

Description

I am currently using vitest for my test

it use hardhat environment by simply importing hardhat,

Now if I install soldiity-coverage as plugin, it seems I need to make use of hardhat test task which does not let me use my vitest tests.

Is there a way to let the coverage be executed against my external test ?

Ideally I would like that to happen in memory but if that require launching a hardhat node, that would be fine enough

Note: I tried to execute vitest inside hardhat via overriding the TEST task but could not get it working, probably due to cjs / esm

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