/karma-intro

Example of Karma workflow with Travis CI and Coveralls.

Primary LanguageJavaScript

karma-intro Build Status Coverage Status Dependency Status devDependency Status

Example of Karma workflow with Travis CI and Coveralls.

Test framework

Mocha and expect.js.

Installation

$ npm install -g grunt-cli
$ git clone https://github.com/ama-ch/karma-intro.git
$ cd karma-intro
$ npm install

Running tests

For TDD:

$ grunt karma:dev

For CI:

$ grunt karma:ci

For Coverage:

$ grunt coverage

This command is alias to grunt karma:coverage coveralls.
grunt karma:coverage generates coverage reports and grunt coveralls posts to Coveralls.