title: Visual Studio 2015: Bug setting TestFramework to Mocha for unit test files in NodeJS Project
body: <p>I'm working on a Typescript project in Visual Studio (2015 Community edition) build server side unit tests using Mocha.</p>
  
  <p>I however read that NodeJS Tools supports <a href="https://github.com/Microsoft/nodejstools/wiki/TypeScript" rel="nofollow noreferrer">running within the VS Test Runner</a>, and even Typescript unit tests. You have to set the TestFramework property of the file to 'Mocha'. The project I'm working on even already has existing tests which this is set for. However I don't get a dropdown option in the GUI to set it, it's just empty:</p>
  
  <p><a href="https://i.stack.imgur.com/bAkpR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bAkpR.png" alt="Screenshot o&#39; the bug"></a></p>
  
  <p>I'm using NTVS v1.1 (and Typescript 1.7). Am I missing something in my Visual Studio setup? The build type of the test .ts file is also already set to <code>TypeScriptCompile</code>. Perhaps more of a specific VS question than a programming question, but the environment/tools is so programmer's specific that I thought somebody here can help me.</p>
  
  <p>PS Running tests manually each time is driving me crazy, and I bumped into too many problems with using a HTML spec runner which I tried first, because this server side tests (e.g. CommonJS require and import statements that my browser doesn't get) and also because it's TypeScript.</p>
  
  <p>But alternative solutions are also welcome. I'm using grunt and am also experience using Gulp, I'm just hoping for a full solution, not something that'll cost me half a day to script together, debug and document..</p>
  
  <p>Note: I DO get the dropdown to select <code>Mocha</code> Testframework for .js files (after including in VS project), but NOT for .ts files :S.</p>