title: How to run the make command for mocha test for node.js application
body: <p>I have created a folder : <strong>MyFirstNodeAppl</strong> and within that, I created a <strong>test</strong> folder which contains all the tests that need to run using the mocha framework. </p>
  
  <p>I also created a make file named as <strong>MakeFile</strong> and the content details as mentioned below:</p>
  
  <pre><code>test:
        @./node_modules/.bin/mocha -u tdd
  
  .PHONY: test
  </code></pre>
  
  <p><strong>package.json</strong> is in the same level as test and <strong>MakeFile</strong> with the content as mentioned below:</p>
  
  <pre><code>{
      "name": "nockmarket", 
      "version": "0.0.1",
      "private": true,
      "dependencies": {
          "jquery" : "1.7.3",
          "mocha": "1.3.0",
          "should": "1.0.0"     
      }
  }
  </code></pre>
  
  <p>After setting up the above things, I ran the npm install command using the node command prompt window. Now as I know that Mocha uses make to run the test harness, And for windows users we need Cygwin so I installed it in my system. But I am not able to run the make command in order to test the unit test cases.</p>
  
  <p>Can anyone help me to resolve this issue by providing guidance to me in the above.</p>
  
  <p>Folder structure details :
  <img src="https://i.stack.imgur.com/AqCfd.png" alt="enter image description here"></p>