Spectacular Test Runner for JavaScript (Evacuated from NSA/Microsoft Github)

johnjbarton bc9acd355a fix(lint): exempt built files (#3024) 6 yıl önce
bin c7d46270ac feat: remove `karma` binary in favor of karma-cli 11 yıl önce
client c9e1ca977c feat: better string representation of errors 7 yıl önce
common 65b658a8ba fix(common): stringify error on 'Cannot convert a Symbol value to a string' (#2990) 6 yıl önce
context 01d6d4c1db fix(client: return result of confirm and prompt 7 yıl önce
docs 6847ca04df fix(docs): Remove mention of pre 1.0.0 version (#3010) 6 yıl önce
lib 642b17752e refactor(server): update server.js to ES6 (#3027) 6 yıl önce
logo e7e4c3e455 chore: add logo 11 yıl önce
scripts 8c98439135 chore(ci): pass expected path to validate-commit-msg 7 yıl önce
static a36f3eb474 fix(debug-runner): support asynchronous tests in the debug runner 7 yıl önce
tasks 67a6054835 chore: Move to standard JS style. 9 yıl önce
test f5cda4d40d refactor: Update lib/launcher to ES6 (#3014) 6 yıl önce
.codeclimate.yml 5427a32d16 chore: Add .codeclimate.yml 9 yıl önce
.eslintignore bc9acd355a fix(lint): exempt built files (#3024) 6 yıl önce
.eslintrc 36b550f063 refactor: update eslint configuration (#3020) 6 yıl önce
.gitattributes 4fc43ea198 chore: do not change pdf files line endings 11 yıl önce
.gitignore 433855ad39 chore: relocate console.log test file into test/e2e and ignore it 7 yıl önce
.mailmap f32f9e1c0f chore: update @mgol's name in .mailmap 7 yıl önce
.npmignore bd013d2273 Revert "refactor(server): move compile step to first run" 6 yıl önce
.travis.yml 3add635f4e chore(travis): Add Node 10 to Travis 6 yıl önce
CHANGELOG.md dae189d4d4 chore: release v2.0.2 6 yıl önce
CODE_OF_CONDUCT.md 01729e67da chore: Add code of conduct 9 yıl önce
CONTRIBUTING.md c0b649fb96 docs(contributing): fix markdown syntax (broken link) 8 yıl önce
ISSUE_TEMPLATE.md 696123b257 docs(gh): fix typos 8 yıl önce
LICENSE 01b6400d68 chore(license): update year 8 yıl önce
README.md f18f7286db docs(readme): update downloads badge to point to graph of downloads 6 yıl önce
appveyor.yml 80cf39c4f2 chore(appveyor): Add Node 10 to appveyor 6 yıl önce
config.tpl.coffee 095fc7e04c refactor(formatters): refactor formatters.js 6 yıl önce
config.tpl.js 095fc7e04c refactor(formatters): refactor formatters.js 6 yıl önce
config.tpl.ls 095fc7e04c refactor(formatters): refactor formatters.js 6 yıl önce
config.tpl.ts 095fc7e04c refactor(formatters): refactor formatters.js 6 yıl önce
credentials 3989dc24e0 switch saucelabs credentials from voijta to karmarunnerbot 9 yıl önce
gruntfile.js a3ff6c8448 feat(grunt): run check_clean before starting release. (#2978) 6 yıl önce
package.json 36b550f063 refactor: update eslint configuration (#3020) 6 yıl önce
requirejs.config.tpl.coffee 54dcce31ea fix(init): Make the requirejs config template normalize paths 9 yıl önce
requirejs.config.tpl.js 64e301b34b refactor: Upgrade to eslint@2 8 yıl önce
thesis.pdf 9ea76264e9 chore: add my thesis 11 yıl önce
wallaby.js d3c132f741 chore: resetup wallabyjs for babel 8 yıl önce
yarn.lock a328150d68 chore(deps): update yarn.lock 6 yıl önce

README.md

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