GithubHelp home page GithubHelp logo

qunit_notifier's Introduction

Qunit Notifier

Qunit notifier is a notification system for unit tests written with QUnit Library.

Getting Started

Requirements

To run Qunit Notifier correctly, you must have installed:

  • nodeJS
  • phantomJS
  • npm - Comes with node now
  • Growl, Snarl or Libnotify to display Qunit Notifier notifications. But it's not obligatory, Qunit Notifier displays messages on terminal too ;)

Install it globally

  • With npm
$ npm install -g qunit_notifier

Configure

You can pass a configuration file for Qunit Notifier. See more details on documentation.

var path = require('path');

var qunit_notifier = {
  	testPath: path.join(__dirname, 'cases'),
    runner: path.join(__dirname, 'index.html'),
    notifier: 'snarl',
    theme: 'doom'
};

module.exports = qunit_notifier;

A example can be found in "example" folder.

Options

You can configure your test runner with some options:

  • testPath: Qunit test cases path
  • runner: Qunit html runner
  • notifier: System notification ("growl","snarl" or "libnotify")
  • theme: Yes, we have some themes! :D ("default","batman","doom","ironman","streetfighter")
  • silent: Display messages only on terminal (true, false)

... More details on documentation =)

Custom Themes

In few days... =)

Run it!

You run Qunit Notifier directly by "qunit_notifier" command! :D

$ qunit_notifier config_file.js

Screenshots

Default theme

rest screenshot web service

Doom theme

rest screenshot web service

Batman theme

rest screenshot web service

qunit_notifier's People

Contributors

tiveron avatar sbelenky avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.