tutorial and resources for AngularJS Karma

I am going to implementing unit testing in my application and for that I have chosen Karma. But I am struggling regarding how to write the test cases using Karma syntax. Please give me some starting resources and tutorial links regarding Karma syntax.

Answers


My favorites resources for starting karma was those articles

http://www.yearofmoo.com/2013/01/full-spectrum-testing-with-angularjs-and-karma.html

You should also check the jasmine syntax for writing tests at http://jasmine.github.io/

and how to configure karma http://karma-runner.github.io/0.12/config/configuration-file.html

I hope it helps you


Need Your Help

Clojure: How to find out the arity of function at runtime?

functional-programming clojure

Given a function object or name, how can I determine its arity? Something like (arity func-name) .