0.2.1 • Published 6 years ago

karma-spec-tally-reporter v0.2.1

Weekly downloads
50
License
ISC
Repository
github
Last release
6 years ago

karma-spec-tally-reporter

Reporter for matching count of specs executed with total specs.

Installation

The easiest way is to keep karma-spec-tally-reporter as a devDependency in your package.json. Just run

npm install karma-spec-tally-reporter --save-dev

to let npm automatically add it there.

Usage

Simply add it to the reporters array of you karma config like

reporters: ['spec-tally']

and you're done!!

Config

The karma-spec-tally-reports takes the following config object in karma.conf and the default values are as below

specTallyReporter: {
  "console": false, // show error logs on console
  "fileName": "spec-tally-report",
  "ext": "json",
  "outDir": "report/spec-tally-report",
  "writeLog": false, // write logs to given fileName
  "bail": false // invokes process.exit if spec tally mismatch
}

Sample Report

This is what the report looks like

0.2.1

6 years ago

0.2.0

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago