clj.orcery

Language, Expression and Design

Wednesday

30

October 2013

Testing clojurescript code with karma

by Chris Zheng, on clojurescript, purnam, karma

The karma test runner is an amazingly fully featured testing platform. Its lead developer Vojta Jina, is an integral part of google's the angular.js team and it is the default test runner for angular.js projects. Karma also works without angular.js and can also be used as a standalone tool for testing code on multiple browsers.

purnam includes clojurescript testing using jasmine and karma. I updated the library to version 0.1.5 and a couple of examples from the wiki has gone out of date.

I thought that it'll be much easier for everyone if I provided a sample project and a quick video to get people started on cljs testing using this fantastic test runner.

comments powered by Disqus