1.1.6 • Published 8 years ago

mocha-tcov-reporter v1.1.6

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

mocha-tcov-reporter

This reporter is a simple code coverage reporter.
Will display the results in a list.

npm version Build Status Coverage Status Code Climate Dependency Statusmocha-tcov-reporter

Installation

npm install mocha-tcov-reporter --save-dev

Basic Usage

Add a set of blanket to package.json.

"config": {
  "blanket": {
    "pattern": "/lib/",
    "data-cover-never": "/node_modules/"
  }
}

After that, You need to specify the reporter.

mocha -r blanket -R mocha-tcov-reporter test

Multi Reporter

With mocha-multi, you can view the report along with the test results.
In the example below, we have used in conjunction with the spec reporter.

multi='spec=- mocha-tcov-reporter=-' mocha -r blanket -R mocha-multi test
1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago