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.
- Obligatory documentation
- Quick questions:
- Longer questions: Mailing List
- Bug reports Issue Tracker
- Everything less than 140 characters: @JsKarma on Twitter
When should I use Karma?
- You want to test code in real browsers.
- You want to test code in multiple browsers (desktop, mobile,
- 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
- 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.