Skip to content

Show "TEST COVERAGE" for all packages in monorepo like "TEST EXPLORER" #646

@leandroluk

Description

@leandroluk

Clear and concise description of the problem

I'm creating a turborepo with multiple backend/frontend apps and multiple packages and I'm implementing Vitest in all of them. So far I have these projects tested and presented in "TEST EXPLORER" like this:

Image

There is a function to run coverage on all tests, but the panel in VSCode that displays TEST COVERAGE only captures the percentage of the first project, in the case of the image the "domain".

Image

Suggested solution

If I can extract information from all projects, whether they passed or not, I can also extract the coverage of each project and organize it as a treeview, just like in "TEST EXPLORER".

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    p4-importantViolate documented behavior or significantly improves performance (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions