Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

BBVAEngineering/karma-qunit-cli-fail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

karma-qunit-cli-fail Build Status GitHub version Coverage Status

Information

NPM

Packagekarma-qunit-cli-fail
Description Karma qunit plugin to stop runner if test fails
Node Version >= 0.10

Installation

Just add karma-qunit-cli-fail as a devDependency in your package.json.

{
  "devDependencies": {
    "karma-qunit-cli-fail": "~0.1.0"
  }
}

Or issue the following command:

npm install karma-qunit-cli-fail --save-dev

Configuration

The code below shows a sample configuration of the preprocessor (must be inserted after qunit).

// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['qunit', 'qunit-cli-fail'],
  });
};

Usage

Run karma from cli and add the next flag: --failOnError