What is it?

  • Test runner
  • Created by the AngularJS team
  • Testing framework agnostic (Jasmine, Mocha, etc.)
  • Test across multiple browsers and devices
  • Built-in watch mode

 

 

Why use Karma?

PhantomJS's Future??

April 13th, maintainer of PhantomJS steps down

[Headless] Chrome

  • Specs run in same browser during build and development
  • ES6 support without transpiling
    • Currently, PhantomJS does not support ES6 natively
    • Chrome does!!

IntelliJ Support

  • Breakpoints / Debugging
  • Runners
    • Coverage
    • Debug
  • Skipped Tests Identified
  • Can use Karma Auto Watch

Try it out

Karma & Headless Chrome

By Eric Danowski

Karma & Headless Chrome

  • 486