0.1.0 • Published 10 years ago

karma-say-reporter v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

karma-say-reporter

A Karma reporter plugin. Reports overall results by OSX "say" command.

Installation

npm install --save-dev karma-say-reporter

Config

Add in karma.conf.js.

All options is optional.

// karma.conf.js
module.exports = function(config) {
  config.set({
    reporters: ['progress', 'say'],

    sayReporter: {
      success: "test all successs",
      fail: "test failed",
      voice: "Agnes"
    }
  });
};

success

Message when it success.

default: success

fail

Message when it failed.

default: failed

voice

Passed to "say" command as "-v" option