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 8.5 MB
Stars 11,274
Forks 1,647
Watchers 333
Open issues 336
Dependencies 1,154
Contributors 339
Tags 210
Created
Last updated
Last pushed

Top Contributors See all

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

Packages Referencing this Repo

@caplin/karma
Spectacular Test Runner for JavaScript.
Latest release 2.0.1 - Updated - 11.3K stars
org.webjars.npm:karma
WebJar for karma
Latest release 2.0.2 - Updated - 11.3K stars
karma-ts
Spectacular Test Runner for JavaScript.
Latest release 1.3.1-alpha.1 - Updated - 11.3K stars
karma-scrivito
Spectacular Test Runner for JavaScript.
Latest release 0.13.26 - Published - 11.3K stars
karma-with-custom-context-html
Spectacular Test Runner for JavaScript.
Latest release 0.13.22 - Published - 11.3K stars
superhuman-karma
Spectacular Test Runner for JavaScript.
Latest release 0.13.22 - Updated - 11.3K stars
karma-tidy
Spectacular Test Runner for JavaScript.
Latest release 1.0.0 - Published - 11.3K stars
th-karma
Spectacular Test Runner for JavaScript.
Latest release 0.12.0 - Published - 11.3K stars
karma
Spectacular Test Runner for JavaScript.
Latest release 5.1.0 - Updated - 11.3K stars
karma-yarn-berry
Spectacular Test Runner for JavaScript.
Latest release 5.1.1 - Published - 11.3K stars
novathore-karma-forked
Spectacular Test Runner for JavaScript.
Latest release 4.4.2 - Updated - 11.3K stars
testacular
This project has been renamed to Karma.
Latest release 0.7.0 - Updated - 11.3K stars
karma-global-dfp
Spectacular Test Runner for JavaScript.
Latest release 0.12.24 - Published - 11.3K stars

Recent Tags See all

v5.1.0 June 11, 2020
v5.0.9 May 19, 2020
v5.0.8 May 18, 2020
v5.0.7 May 16, 2020
v5.0.6 May 16, 2020
v5.0.5 May 07, 2020
v5.0.4 April 30, 2020
v5.0.3 April 29, 2020
v5.0.2 April 16, 2020
v5.0.1 April 10, 2020
v5.0.0 April 09, 2020
v4.4.1 October 18, 2019
v4.4.0 October 17, 2019
v4.3.0 August 27, 2019
v4.2.0 July 12, 2019

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
yyx990803/karma
Spectacular Test Runner for JavaScript
JavaScript - MIT - Updated - 2 stars - 1 forks
meganz/karma
Spectacular Test Runner for JavaScript
JavaScript - Last pushed - 2 stars
brendankenny/karma
Spectacular Test Runner for JavaScript
JavaScript - Updated - 2 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-11-12 12:19:02 UTC

Login to resync this repository