devongovett / browserify-istanbul

A browserify transform for the istanbul code coverage tool
50 stars 32 forks source link

Expose configuration options to pass to istanbul #10

Closed plumlee closed 9 years ago

plumlee commented 9 years ago

First, thanks for a great tool. It's solved an issue that I've spent days on - how to get code coverage of the source files versus the browserified ones.

I'm using http://theintern.io as the testing framework for our application. It uses a custom coverageVariable of __internCoverage, and also uses the noCompact: true option. I'd like to be able to pass those directly to browserify-istanbul as configuration params, but the current format doesn't allow it.

Would you be open to a change/pull request that creates the instrumenter inside the transform function, so that options such as the coverageVariable could then be passed through to the istanbul.Instrumenter instantiation call?

plumlee commented 9 years ago

Bump.

plumlee commented 9 years ago

Not much activity on any of the issues here - perhaps the other people have dropped theie issues. Would you be interested in giving contributor rights to others to help add new features, or is a fork the best long term solution?

devongovett commented 9 years ago

Merged #11.