Skip to content

recamshak/karma-dbus-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-dbus-reporter

Report test results using D-Bus.

Installation

The easiest way is to keep karma-dbus-reporter as a devDependency in your package.json.

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-dbus-reporter": "~0.1"
  }
}

You can simple do it by:

npm install karma-dbus-reporter --save-dev

Make sure you have socat installed on your system. On Ubuntu / Debian:

sudo apt-get install socat

On Fedora:

sudo yum install socat

Configuration

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

    // this is optional
    dbusReporter: {
      prefix: 'My project',
      notifyOnlyFailures: true,
      timeout: 10
    }
  });
};

You can pass list of reporters as a CLI argument too:

karma start --reporters dbus,dots

For more information on Karma see the homepage.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published