karma
Spectacular Test Runner for JavaScript.
Last updated 10 years ago by vojtajina .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install karma 
SYNC missed versions from official npm registry.

Karma

js-standard-style npm version npm downloads

Code Climate PRs Welcome Dependency Status devDependency Status semantic-release

A simple tool that allows you to execute JavaScript code in multiple real browsers.

The main purpose of Karma is to make your test-driven development easy, fast, and fun.

Help and Support

For questions and support please use the mailing list or Gitter. The issue tracker is for bug reports and feature discussions only.

When should I use Karma?

  • You want to test code in real browsers.
  • You want to test code in multiple browsers (desktop, mobile, tablets, etc.).
  • You want to execute your tests locally during development.
  • You want to execute your tests on a continuous integration server.
  • You want to execute your tests on every save.
  • You love your terminal.
  • You don't want your (testing) life to suck.
  • You want to use Istanbul to automagically generate coverage reports.
  • You want to use RequireJS for your source files.

But I still want to use _insert testing library_

Karma is not a testing framework, nor an assertion library. Karma just launches an HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like. There are already plugins for most of the common testing frameworks:

If you can't find an adapter for your favourite framework, don't worry and write your own. It's not that hard and we are here to help.

Which Browsers can I use?

All the major browsers are supported, if you want to know more see the browsers page.

Troubleshooting

See FAQ.

I want to use it. Where do I sign?

You don't need to sign anything but here are some resources to help you to get started...

Obligatory Screencast.

Every serious project has a screencast, so here is ours. Just click here and let the show begin.

Installation.

See installation.

Using it.

See configuration.

This is so great. I want to help.

Please, see contributing.

Why did you create this?

Throughout the development of AngularJS, we've been using JSTD for testing. I really think that JSTD is a great idea. Unfortunately, we had many problems with JSTD, so we decided to write our own test runner based on the same idea. We wanted a simple tool just for executing JavaScript tests that is both stable and fast. That's why we use the awesome Socket.io library and Node.js.

My boss wants a license. So where is it?

MIT License

Current Tags

  • 6.4.1                                ...           latest (2 years ago)

210 Versions

  • 6.4.1                                ...           2 years ago
  • 6.4.0                                ...           2 years ago
  • 6.3.20                                ...           3 years ago
  • 6.3.19                                ...           3 years ago
  • 6.3.18                                ...           3 years ago
  • 6.3.17                                ...           3 years ago
  • 6.3.16                                ...           3 years ago
  • 6.3.15                                ...           3 years ago
  • 6.3.14                                ...           3 years ago
  • 6.3.13                                ...           3 years ago
  • 6.3.12                                ...           3 years ago
  • 6.3.11                                ...           3 years ago
  • 6.3.10                                ...           3 years ago
  • 6.3.9                                ...           3 years ago
  • 6.3.8                                ...           3 years ago
  • 6.3.7                                ...           3 years ago
  • 6.3.6                                ...           3 years ago
  • 6.3.5                                ...           3 years ago
  • 6.3.4                                ...           3 years ago
  • 6.3.3                                ...           4 years ago
  • 6.3.2                                ...           4 years ago
  • 6.3.1                                ...           4 years ago
  • 6.3.0                                ...           4 years ago
  • 6.2.0                                ...           4 years ago
  • 6.1.2                                ...           4 years ago
  • 6.1.1                                ...           4 years ago
  • 6.1.0                                ...           4 years ago
  • 6.0.4                                ...           4 years ago
  • 6.0.3                                ...           4 years ago
  • 6.0.2                                ...           4 years ago
  • 6.0.1                                ...           4 years ago
  • 6.0.0                                ...           4 years ago
  • 5.2.3                                ...           4 years ago
  • 5.2.2                                ...           4 years ago
  • 5.2.1                                ...           4 years ago
  • 5.2.0                                ...           4 years ago
  • 5.1.1                                ...           4 years ago
  • 5.1.0                                ...           4 years ago
  • 5.0.9                                ...           5 years ago
  • 5.0.8                                ...           5 years ago
  • 5.0.7                                ...           5 years ago
  • 5.0.6                                ...           5 years ago
  • 5.0.5                                ...           5 years ago
  • 5.0.4                                ...           5 years ago
  • 5.0.3                                ...           5 years ago
  • 5.0.2                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 4.4.1                                ...           5 years ago
  • 4.4.0                                ...           5 years ago
  • 4.3.0                                ...           5 years ago
  • 4.2.0                                ...           5 years ago
  • 4.1.0                                ...           6 years ago
  • 4.0.1                                ...           6 years ago
  • 4.0.0                                ...           6 years ago
  • 3.1.4                                ...           6 years ago
  • 3.1.3                                ...           6 years ago
  • 3.1.2                                ...           6 years ago
  • 3.1.1                                ...           6 years ago
  • 3.1.0                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.0.5                                ...           6 years ago
  • 2.0.4                                ...           6 years ago
  • 2.0.3                                ...           6 years ago
  • 2.0.2                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.7.1                                ...           7 years ago
  • 1.7.0                                ...           8 years ago
  • 1.6.0                                ...           8 years ago
  • 1.5.0                                ...           8 years ago
  • 1.4.1                                ...           8 years ago
  • 1.4.0                                ...           8 years ago
  • 1.3.0                                ...           8 years ago
  • 1.2.0                                ...           8 years ago
  • 1.1.2                                ...           8 years ago
  • 1.1.1                                ...           8 years ago
  • 1.1.0                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
  • 0.13.22                                ...           9 years ago
  • 0.13.21                                ...           9 years ago
  • 0.13.20                                ...           9 years ago
  • 0.13.19                                ...           9 years ago
  • 0.13.18                                ...           9 years ago
  • 0.13.17                                ...           9 years ago
  • 0.13.16                                ...           9 years ago
  • 0.13.15                                ...           9 years ago
  • 0.13.14                                ...           9 years ago
  • 0.13.13                                ...           9 years ago
  • 0.13.12                                ...           9 years ago
  • 0.13.11                                ...           9 years ago
  • 0.13.10                                ...           9 years ago
  • 0.13.9                                ...           9 years ago
  • 0.13.8                                ...           9 years ago
  • 0.13.7                                ...           9 years ago
  • 0.13.6                                ...           9 years ago
  • 0.13.5                                ...           9 years ago
  • 0.13.4                                ...           9 years ago
  • 0.13.3                                ...           9 years ago
  • 0.13.2                                ...           9 years ago
  • 0.13.1                                ...           9 years ago
  • 0.13.0                                ...           9 years ago
  • 0.13.0-rc.9                                ...           9 years ago
  • 0.13.0-rc.8                                ...           9 years ago
  • 0.13.0-rc.7                                ...           9 years ago
  • 0.13.0-rc.6                                ...           9 years ago
  • 0.13.0-rc.5                                ...           9 years ago
  • 0.12.37                                ...           9 years ago
  • 0.13.0-rc.4                                ...           10 years ago
  • 0.12.36                                ...           10 years ago
  • 0.13.0-rc.3                                ...           10 years ago
  • 0.12.35                                ...           10 years ago
  • 0.13.0-rc.2                                ...           10 years ago
  • 0.12.34                                ...           10 years ago
  • 0.13.0-rc.1                                ...           10 years ago
  • 0.12.33                                ...           10 years ago
  • 0.13.0-rc.0                                ...           10 years ago
  • 0.12.32                                ...           10 years ago
  • 0.12.32-beta.0                                ...           10 years ago
  • 0.12.24-dev-socketio10-2                                ...           10 years ago
  • 0.12.24-dev-socketio10                                ...           10 years ago
  • 0.12.24-dev-test                                ...           10 years ago
  • 0.12.28-beta-f65c864                                ...           10 years ago
  • 0.12.31                                ...           10 years ago
  • 0.12.30                                ...           10 years ago
  • 0.12.29                                ...           10 years ago
  • 0.12.28-beta-b9be580                                ...           10 years ago
  • 0.12.28                                ...           10 years ago
  • 0.12.27                                ...           10 years ago
  • 0.12.26                                ...           10 years ago
  • 0.12.25-beta-ad5bc24                                ...           10 years ago
  • 0.12.25-beta-37a7958                                ...           10 years ago
  • 0.12.25                                ...           10 years ago
  • 0.12.24-beta-6cf7955                                ...           10 years ago
  • 0.12.24                                ...           10 years ago
  • 0.12.23                                ...           10 years ago
  • 0.12.22                                ...           10 years ago
  • 0.12.21                                ...           10 years ago
  • 0.12.20                                ...           10 years ago
  • 0.12.19                                ...           10 years ago
  • 0.12.18                                ...           10 years ago
  • 0.12.17                                ...           10 years ago
  • 0.12.16-beta-905422d                                ...           10 years ago
  • 0.12.16                                ...           11 years ago
  • 0.12.15                                ...           11 years ago
  • 0.12.14                                ...           11 years ago
  • 0.12.13                                ...           11 years ago
  • 0.12.11-beta-3029418                                ...           11 years ago
  • 0.12.12                                ...           11 years ago
  • 0.12.11                                ...           11 years ago
  • 0.12.10                                ...           11 years ago
  • 0.12.9                                ...           11 years ago
  • 0.12.8                                ...           11 years ago
  • 0.12.7                                ...           11 years ago
  • 0.12.6-beta-43e6e28                                ...           11 years ago
  • 0.12.6                                ...           11 years ago
  • 0.12.5                                ...           11 years ago
  • 0.12.4                                ...           11 years ago
  • 0.12.3                                ...           11 years ago
  • 0.12.2                                ...           11 years ago
  • 0.12.1                                ...           11 years ago
  • 0.10.10                                ...           11 years ago
  • 0.12.0                                ...           11 years ago
  • 0.11.14                                ...           11 years ago
  • 0.11.13                                ...           11 years ago
  • 0.11.12-dev2                                ...           11 years ago
  • 0.11.12-dev                                ...           11 years ago
  • 0.10.9                                ...           11 years ago
  • 0.11.11-dev                                ...           11 years ago
  • 0.11.12                                ...           11 years ago
  • 0.11.11                                ...           11 years ago
  • 0.11.10                                ...           11 years ago
  • 0.10.8                                ...           11 years ago
  • 0.11.9                                ...           11 years ago
  • 0.11.8                                ...           11 years ago
  • 0.11.7                                ...           11 years ago
  • 0.10.7                                ...           11 years ago
  • 0.11.6                                ...           11 years ago
  • 0.10.6                                ...           11 years ago
  • 0.11.5                                ...           11 years ago
  • 0.11.4                                ...           11 years ago
  • 0.10.5                                ...           11 years ago
  • 0.11.3                                ...           11 years ago
  • 0.11.2                                ...           11 years ago
  • 0.10.4                                ...           11 years ago
  • 0.10.3                                ...           11 years ago
  • 0.11.1                                ...           11 years ago
  • 0.11.0                                ...           11 years ago
  • 0.10.2                                ...           11 years ago
  • 0.10.1                                ...           11 years ago
  • 0.10.0                                ...           11 years ago
  • 0.9.8                                ...           11 years ago
  • 0.9.7                                ...           11 years ago
  • 0.8.8                                ...           11 years ago
  • 0.9.6                                ...           11 years ago
  • 0.9.5                                ...           11 years ago
  • 0.8.7                                ...           11 years ago
  • 0.9.4                                ...           11 years ago
  • 0.8.6                                ...           11 years ago
  • 0.9.3                                ...           11 years ago
  • 0.9.2-dart                                ...           12 years ago
  • 0.9.2                                ...           12 years ago
  • 0.8.5                                ...           12 years ago
  • 0.9.1                                ...           12 years ago
  • 0.8.4                                ...           12 years ago
  • 0.9.0                                ...           12 years ago
  • 0.8.3                                ...           12 years ago
  • 0.8.2                                ...           12 years ago
  • 0.8.1                                ...           12 years ago
  • 0.9.0-dart                                ...           12 years ago
  • 0.8.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (17)

Copyright 2013 - present © cnpmjs.org | Home |