Skip to content

Support test coverage reporters in bun test #3158

Closed
@jakeboone02

Description

@jakeboone02

What is the problem this feature would solve?

Existing test libraries like Jest and Vitest support coverage reporters like istanbul and c8. bun test merely runs the tests, but it does not collect coverage information that could be provided to a reporter.

What is the feature you are proposing to solve the problem?

Add the ability to specify a reporter (possibly include a default reporter with Bun) and collect coverage information with a --coverage flag or something similar.

What alternatives have you considered?

The only alternative is to stick with Jest/Vitest/etc when coverage reporting is needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bun:testSomething related to the `bun test` runnerenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions