Top "Karma-runner" questions

Karma provides developers a testing environment where they don't have to set up many things, rather just write code and get instant feedback in order to improve productivity and creativity.

Is it possible to run Karma with no browsers at all?

I started an Angular.js app with Yeoman's yo angular that includes Karma testing. Then, the grunt test reasonably failed …

javascript angularjs gruntjs yeoman karma-runner
Karma: Uncaught ReferenceError: jQuery is not defined

I am running Karma on my yeoman based angularjs app. I get the following error when running "grunt karma": Chrome 28.0 (…

jquery twitter-bootstrap karma-runner
Testing backend API via $http in AngularJS/karma/jasmine tests?

How do I test my API backend using AngularJS/karma/jasmine tests? I have tried to create the smallest test-case …

angularjs jasmine karma-runner httpbackend angularjs-http
Testing with Karma and RequireJS with files in CommonJS syntax

I'm working on an angular application that is written in CommonJS syntax and uses a grunt task with the grunt-contrib-requirejs …

javascript requirejs amd commonjs karma-runner
AngularJS Promise Callback Not Trigged in JasmineJS Test

Problem Intro I'm trying to unit test an AngularJS service that wraps the Facebook JavaScript SDK FB object; however, the …

javascript angularjs jasmine karma-runner
Angular testing: Cannot read property 'nativeElement' of null

I am new in Angular testing and at the moment I am trying to test this piece of code but …

angular integration-testing karma-runner angular-routerlink
Karma throws error: Can not load "ng-html2js", it is not registered

I'm getting an error when I run karma start: $ karma start INFO [karma]: Karma v0.10.2 server started at http://localhost:9876/ …

angularjs karma-runner ng-html2js
Can not load "IE", it is not registered! error message on Karma

I'm using karma to run my js tests on multiple browsers. the test works on Chrome & Firefox but I …

javascript internet-explorer unit-testing karma-runner
Karma --auto-watch no longer works

My Karma installation used to auto-watch - when I saved a .js file, it'd re-run the tests. It's been a …

javascript angularjs jasmine karma-runner karma-jasmine
How to add the chrome binary to run e.g. Karma tests on headless chrome on a CI server

I like to run my karma unit tests on a headless chrome. Using karma-chrome-launcher and setting the browser to "ChromeHeadless" …

google-chrome continuous-integration karma-runner google-chrome-headless