Martin Martin - 1 year ago 238
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?

Answer Source

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