Reputation: 807
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.
Upvotes: 6
Views: 16594
Reputation: 2082
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
Upvotes: 22