A Karma plugin that reports test results with a blink(1) device.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
example
.gitignore
LICENSE
README.md
index.js
package.json

README.md

karma-blink1-reporter

karma-blink1-reporter uses a blink(1) device to display Karma test results.

Only works with Karma 0.9 or later which enables custom plugins.

Usage

  1. Make sure you're using Karma 0.9+ karma --version. You may install the latest (unstable) version using npm install -g karma@canary

  2. Install the blink(1) software from the blink(1) homepage

  3. Install karma-blink1-reporter

    $ npm install -g karma-blink1-reporter
    
  4. Add the plugin to reporters

    reporters = ['blink1'];
    
  5. Start the blink(1) software

  6. Run your tests

Configuration

Some properties of the plugin can be changes in the Karma config file by adding the blink1 key.

   /* Default vales */
   blink1 = {
        baseUrl: 'http://localhost:8934/blink1/',
        fault: 'FF0000',
        error: 'FFA500',
        success: '00FF00',
        duration: 1.5
   },

License

karma-blink1-reporter is licensed under the MIT License.