oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.94k stars 2.75k forks source link

Show the files that are not covered by tests #5928

Open samnoon1971 opened 1 year ago

samnoon1971 commented 1 year ago

What is the problem this feature would solve?

When running tests with coverage bun test --coverage I get a nice report for all the files that were included by the tests.

But the files that aren't included in any tests have no coverage and I would like to know if there are any of those about.

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

I propose the following feature: Bun will show files in the project that aren't included in the tests.

What alternatives have you considered?

None

matepaiva commented 10 months ago

any update on this?

chlorophant commented 9 months ago

Not showing the coverage of your source code seems like a pretty big issue. It will force people to use other testing libraries. Any update on this?

rafaelcorreiapoli commented 9 months ago

We also need this to start using bun as our test runner in our company

vtcaregorodtcev commented 4 months ago

I believe it should be something like --collectCoverageFrom from jest.

Kitenite commented 4 weeks ago

Hello, any updates on this?