Martin Martin - 5 months ago 56x
AngularJS Question

Is it possible to run karma on tfs build?

I´m using TFS 2010 and Visual Studio 2012. Now I want to unit-test my AngularJs-Scripts. In Visual Studio this seems to work with KarmaVs, but how can I run the tests on tfs-build?


Assuming tfs-build can invoke external program, you can just execute karma run. You have to set singleRun:true in your karma config though.