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.

generator-angular: task "karma" not found when calling `grunt test`

I'm trying to setup a development environment with Yeoman for AngularJS, I installed Yeoman according to the instructions: sudo npm …

gruntjs yeoman karma-runner
How can I get a list of passing tests from karma runner suite?

When I run karma on my webapp, I only get generic messages like tests passed - is there a way …

javascript unit-testing karma-runner
Angular mock fails to inject my module dependencies

I want to test an Angular controller for my application fooApp, defined as follow: var fooApp = angular.module('fooApp', [ 'ngRoute', …

angularjs jasmine karma-runner karma-jasmine angular-mock
Testacular install fails, no vcbuild.exe

I'm trying to install Testacular (using nmp) on a Windows 8 Professional (64 bit) laptop, but it fails when it tries to …

windows-8 socket.io npm vcbuild karma-runner
How can I use HTML fixtures with Karma test runner using Qunit?

I'm playing with Karma test runner (http://karma-runner.github.io/0.8/index.html) using qunit (http://qunitjs.com). I succesfully created …

javascript unit-testing tdd qunit karma-runner
No binary for PhantomJS browser on your platform. Please, set "PHANTOMJS_BIN" env variable

My package.json looks like this.. "karma-phantomjs-launcher": "^0.1.4", "karma-safari-launcher": "^0.1.1", "karma-sinon-chai": "~0.2.0", "karma-spec-reporter": "~0.0.16", "mocha": "~1.20.1" my npm version is 2.2.0 whay am I getting this …

phantomjs karma-runner mocha-phantomjs karma-mocha karma-coverage
How to get better test reports in the console?

I have a fairly simple karma.config.js file basePath = '../'; files = [ JASMINE, JASMINE_ADAPTER, 'js/lib/angular*.js', …

javascript node.js karma-jasmine karma-runner
Unexpected request: GET No more request expected at $httpBackend

I have a function in my scope to retrieve the status of my service when the user clicks a button, …

angularjs jasmine karma-runner httpbackend
karma plugin dependencies not being found

When I run karma start I get the following issues C:\devl\JS\myProject>karma start 06 09 2015 11:30:19.133:WARN [plugin]: Cannot …

javascript node.js karma-runner
mock angular service/promise in a karma/jasmine test

I'm trying to write a karma/jasmine test and I would like some explanations about how mocks are working on …

angularjs unit-testing karma-runner karma-jasmine