karma-spec-tally-reporter

0.2.1 • Public • Published

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

Package Sidebar

Install

npm i karma-spec-tally-reporter

Weekly Downloads

743

Version

0.2.1

License

ISC

Unpacked Size

57.7 kB

Total Files

7

Last publish

Collaborators

  • spitfiresatya