Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Istanbul code coverage loader for Webpack

License

NotificationsYou must be signed in to change notification settings

JS-DevTools/coverage-istanbul-loader

Repository files navigation

Cross-Platform CompatibilityBuild Status

Coverage StatusDependencies

npmLicenseBuy us a tree

This is aWebpack loader that usesIstanbul to add code coverage instrumentation to your code. This is especially useful for in-browser testing, in a tool likeKarma, where you can usekarma-coverage-istanbul-reporter to output code coverage data in a variety of formats that are supported by services likeCoveralls orCodacy.

Coverage Istanbul Loader is based onIstanbul Instrumenter Loader, but uses a newer version of theIstanbul API and has better support for source maps.

Usage

Seethe examples folder for usage examples for various use cases.

Contributing

Contributions, enhancements, and bug-fixes are welcome!Open an issue on GitHub andsubmit a pull request.

Building/Testing

To build/test the project locally on your computer:

  1. Clone this repo
    git clone https://github.com/JS-DevTools/coverage-istanbul-loader.git

  2. Install dependencies
    npm install

  3. Build the code
    npm run build

  4. Run the tests
    npm test

License

coverage-istanbul-loader is 100% free and open-source, under theMIT license. Use it however you want.

This package isTreeware. If you use it in production, then we ask that youbuy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

Travis CISauceLabsCoveralls


[8]ページ先頭

©2009-2025 Movatter.jp