title: Node Mocha test log save to disk
body: <p>Need to save the test logging to the disk </p>
  
  <p>I have tried the below code</p>
  
  <pre><code>  mocha -R spec  test/**/*_test.js   &gt;  report
  </code></pre>
  
  <p>suppose any test case failed it not log into the 'report' file. Please suggest best way to log the test report.</p>