mocha-istanbul

Istanbul code coverage reporter for Mocha

MIT 3 个版本
安装
npm install mocha-istanbul
yarn add mocha-istanbul
pnpm add mocha-istanbul
bun add mocha-istanbul
README

mocha-istanbul

Mocha reporter to generate coverage report of istanbul instrumented code.

Usage

  1. Install istanbul, mocha and mocha-istanbul
  2. Instrument your code using istanbul
  3. Make your tests to use the instrumented code (see COA library as an example)
  4. Run mocha using mocha-istanbul as a reporter
  5. Use the environment variable ISTANBUL_REPORTERS to specify a comma separated list of istanbul reports. By default ISTANBUL_REPORTERS=text-summary,html
版本列表
0.3.0 2016-07-20
0.2.0 2013-03-15
0.1.0 2012-10-28