Socket
Socket
Sign inDemoInstall

karma-fail-fast-reporter

Package Overview
Dependencies
137
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    karma-fail-fast-reporter

A Karma plugin. Report failures as soon as they occur.


Version published
Weekly downloads
2.4K
decreased by-21.4%
Maintainers
1
Install size
6.02 kB
Created
Weekly downloads
 

Readme

Source

karma-fail-fast-reporter

license npm version npm downloads dependencies status devDependencies status peerDependencies status

Report Karma failures as soon as they occur, exiting and reporting the the first failure instead of waiting for all of the tests to run.

Multiple test failures can often be the result of a single piece of erroneous code, therefore it is not always necessary to run and produce the results of every single test.

Failing fast is an important concept of the Agile software development methodology as it allows the learning process to begin as early as possible, providing the shortest feedback loop available for the developer to begin fixing a failing test.

The quicker you can find out if a change breaks something the better off you are and the more confidence you will have in your software.

Mark Chang

Installation

npm install --save-dev karma-fail-fast-reporter

Configuration

Either pass the fail-fast reporter as a command line argument:

karma start --reporters fail-fast

Or add the reporter to your karma.conf.js file:

// karma.conf.js
module.exports = function (config) {
  config.set({
    reporters: ['fail-fast']
  });
};

Contributing

Bug reports and pull requests are welcome on GitHub.

License

This project is available under the terms of the ISC license. See the LICENSE file for the copyright information and licensing terms.

Keywords

FAQs

Last updated on 05 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc