Allow use of system-installed third-party ECMAScript libraries · Issue #259 · nedbat/coveragepy (original) (raw)

Originally reported by Ben Finney (Bitbucket: bignose, GitHub: bignose)


Please allow the generated HTML report to use the system-installed version of ECMAScript libraries, instead of the ones bundled in Coverage.

While bundling third-party libraries can be convenient for some users who don't have the libraries on their system, Coverage should prefer the system-installed version of these libraries if the user indicates they exist.

The third-party ECMAScript libraries currently bundled (as of Coverage 3.6):

These are all packaged in Debian at least, and installing a different version of these libraries for use only with Coverage is sub-optimal on such a system.

Specifically, the generation of an HTML report should use the system-installed instance of the above libraries.