Javascript unit tests using QUnit

I would like to recommend you few links which would be helpful for you to go ahead.

To know more about QUNIT and create you first script suing Qunit you can follow below link:

To Integrate JavaScript Unit testing into your website and enables to run JavaScript unit tests from Visual studio you can look into below open source tool.

Hope this would help you!!