Skip to content
Example of Karma workflow with Travis CI and Coveralls.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
js
test
.gitignore
.travis.yml
Gruntfile.js
README.md
karma.conf.js
package.json

README.md

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.

You can’t perform that action at this time.