Tests Fail with Errors when Using Chutzpah to run tests from the Test Explorer pane in Visual Studio 2012
To run qUnit javascript unit tests from within Visual Studio 2012, you need to install Chutzpah Test Adapter.
This extension allows you to run javascript
unit tests, from within the Test
Explorer pane of Visual Studio.
If
you find that some of your qUnit tests are failing, when run from within the Test Explorer pane, then this might help:
you need to reference your javascript files at the top of the
file that contains your tests (and not just in the HTML file):
/// <reference path="../Clustering/ReservoirRanges.js" />
/// <reference path="../ArcGisUtils.js" />
Comments
Post a Comment