Karma runner

logo

JS Unittest featuring AngularJS

What?

A simple tool that allows you to execute JavaScript code in multiple real browsers, powered by Node.js and Socket.io.

What else?

Testing framework

Jasmine (by default)

describe("My project", function () {

  describe("my function", function () {
  
    it("should do something", function () {
      // ...
    });
  };
  
});

AngularJS

Dependency injection

app.controller(function (myService) {
  myService.call("Hey!");
});

app.filter(function (myService) {
  return function (input) {
    return myService.flob(input);
  });
});