title: Bail suite on mocha (sub)suite error but continue next?
body: <p>I'm using mocha in node.js with have bdd-style specs.</p>
  
  <p>Is it possible to bail a sub-suite after the first error but continue it's parent/sibling suites? </p>
  
  <p>Say I test different routes to access an api, then I want to abort a specific route if it's connection fails because there's no use hammering with calls if first action failed, but it can still attempt to check other things. </p>
  
  <p>If a high level tests sees a server is completely down or misconfigured then I could abort instead of having to wait all the failing tests to timeout and fill the report with unnecessary mayhem.</p>
  
  <p>I see the following answer but that's not what I want, it bails everything, which is too much. I want something to only bail a branch in the spec tree if an assertion fails.</p>
  
  <p><a href="https://stackoverflow.com/questions/13954531/skip-subsequent-mocha-tests-from-spec-if-one-fails">Skip subsequent Mocha tests from spec if one fails</a></p>