intuit / proof

A tapable integration testing library for your Storybook stories
https://intuit.github.io/proof/
MIT License
86 stars 30 forks source link

Add a plugin for gathering code-coverage from instrumented code. #62

Open adierkens opened 4 years ago

adierkens commented 4 years ago

As a test-runner, it would be nice to provide the feature (in the form of a plugin) of code-coverage gathered from testing a site that is instrumented with istanbul

The plugin should allow for outputting coverage data in an industry standard format, and the ability to hook into said serialization of the data before writing to disk.

twinklenotna commented 4 years ago

@adierkens can I take this up

twinklenotna commented 4 years ago

@adierkens Can we use codecov.io for this? If yes, I will need some help authorizing codecov.io for this repo.

twinklenotna commented 4 years ago

@adierkens or should we use coveralls?

adierkens commented 4 years ago

@twinklenotna This feature isn't to integrate codecov or coveralls with this repo in particular, but rather to consume a storybook build published using istanbul and produce a coverage report -- similar to what we do for the accessibility plugin.