The last year I have been doing a lot of javascript development and running tests was always cumbersome.

Luckily VS2012 let's you create custom test runners and one of them is a product called Chutzpah which is a Javascript test runner. Finally I don't have to leave Visual Studio to run automated tests and have them run with my other (C#) tests :-)

Info:
http://chutzpah.codeplex.com/
http://blogs.msdn.com/b/visualstudioalm/archive/2012/07/09/javascript-unit-tests-on-team-foundation-service-with-chutzpah.aspx