karma-runner/karma


Spectacular Test Runner for JavaScript

http://karma-runner.github.io

License: MIT

Language: JavaScript

Keywords: bdd, browser, jasmine, javascript, karma, mocha, qunit, tdd, test-runner


Karma

js-standard-style npm version npm downloads

Build Status Build Status Code Climate PRs Welcome Dependency Status devDependency Status

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

Project Statistics

Sourcerank 22
Repository Size 7.25 MB
Stars 10,362
Forks 1,562
Watchers 357
Open issues 362
Dependencies 1,112
Contributors 316
Tags 191
Created
Last updated
Last pushed

Top Contributors See all

Vojta Jina Friedel Ziegelmayer johnjbarton Greenkeeper Karma Bot Łukasz Usarz Maksim Ryzhikov Christian Budde Christensen Yaroslav Admin Mark Trostler taichi Wesley Cho Liam Newman Michał Gołębiowski-Owczarek Todd Wolfson Robo Ciro Nunes Vivek Ganesan Pawel Kozlowski Shyam Seshadri

Packages Referencing this Repo

@caplin/karma
Spectacular Test Runner for JavaScript.
Latest release 2.0.1 - Updated - 10.4K stars
karma-ts
Spectacular Test Runner for JavaScript.
Latest release 1.3.1-alpha.1 - Updated - 10.4K stars
karma-scrivito
Spectacular Test Runner for JavaScript.
Latest release 0.13.26 - Published - 10.4K stars
karma-with-custom-context-html
Spectacular Test Runner for JavaScript.
Latest release 0.13.22 - Published - 10.4K stars
superhuman-karma
Spectacular Test Runner for JavaScript.
Latest release 0.13.22 - Updated - 10.4K stars
karma-tidy
Spectacular Test Runner for JavaScript.
Latest release 1.0.0 - Published - 10.4K stars
th-karma
Spectacular Test Runner for JavaScript.
Latest release 0.12.0 - Published - 10.4K stars
karma
Spectacular Test Runner for JavaScript.
Latest release 3.1.3 - Updated - 10.4K stars
testacular
This project has been renamed to Karma.
Latest release 0.7.0 - Updated - 10.4K stars
karma-global-dfp
Spectacular Test Runner for JavaScript.
Latest release 0.12.24 - Published - 10.4K stars

Recent Tags See all

v3.1.3 December 01, 2018
v3.1.2 December 01, 2018
v3.1.1 October 23, 2018
v3.1.0 October 22, 2018
v3.0.0 August 09, 2018
v2.0.5 July 24, 2018
v2.0.4 June 21, 2018
v2.0.3 June 15, 2018
v2.0.2 April 19, 2018
v2.0.1 April 19, 2018
v2.0.0 December 21, 2017
v1.7.1 August 30, 2017
1.7.1 August 25, 2017
v1.7.0 May 06, 2017
v1.6.0 April 05, 2017

Interesting Forks See all

vojtajina/karma
Spectacular Test Runner for JavaScript
CoffeeScript - MIT - Last pushed - 256 stars - 40 forks
mhevery/testacular
Remote JS execution in multiple browsers / without browser...
JavaScript - Updated - 3 stars
brendankenny/karma
Spectacular Test Runner for JavaScript
JavaScript - Updated - 2 stars
remy/karma
Spectacular Test Runner for JavaScript
JavaScript - MIT - Last pushed - 2 stars - 1 forks
AppGyver/karma
Spectacular Test Runner for JavaScript
JavaScript - MIT - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2018-12-07 11:00:42 UTC

Login to resync this repository