I try to use mocha with webstorm test runner on win 7.
I have these config params:
path to node:
C:\\Program Files (x86)\\nodejs\\no
While the greater powers are debating on the hows and the whys to fix this, lesser mortals can resort to this workaround:
testRunner.js
to run your tests testRunner.js
var testFiles=["test/_helper.js","test/tests.js","test/tests.coffee"];
var Mocha = require('mocha');
var mocha = new Mocha;
mocha.reporter('spec').ui('bdd');
for (var i =0;i
Courtesy: http://wuntusk.blogspot.com/2012/06/using-webstorm-or-phpstorm-and-mocha.html