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 25
Repository Size 7.43 MB
Stars 10,624
Forks 1,599
Watchers 345
Open issues 372
Dependencies 1,114
Contributors 324
Tags 195
Created
Last updated
Last pushed

Top Contributors See all

Vojta Jina Friedel Ziegelmayer johnjbarton Greenkeeper Łukasz Usarz Karma Bot 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

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

Recent Tags See all

v4.1.0 April 15, 2019
v4.0.1 February 28, 2019
v4.0.0 January 23, 2019
v3.1.4 December 17, 2018
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

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: 2019-04-15 22:33:32 UTC

Login to resync this repository