bun icon indicating copy to clipboard operation
bun copied to clipboard

Implement a `html` coverage reporter for `bun test`

Open ImLunaHey opened this issue 2 years ago • 1 comments

Related

https://github.com/oven-sh/bun/issues/4015 https://github.com/oven-sh/bun/issues/3158#issuecomment-1672586105

ImLunaHey avatar Aug 10 '23 10:08 ImLunaHey

any update?

jukbot avatar May 17 '24 18:05 jukbot

+1

faribauc avatar Oct 26 '24 17:10 faribauc

I've test :

nyc --reporter=html bun test src/**.test.ts --coverage

inspired by https://github.com/istanbuljs/nyc and it fail to find anything to report

i've also tested to use https://github.com/eugenezinovyev/lcov-viewer on the bun lcov generated file and i have a html report but not line based only file based so not usefull.

inspired by https://github.com/eugenezinovyev/lcov-viewer/issues/90 i've test to install sudo apt install lcov to use genhtml on the lcov file and it's better but not as good as istambul html report.

1000i100 avatar Dec 04 '24 18:12 1000i100