     return callback err if err
 
 
+needsSetup = (suite) ->
+  notSkipped = suite.cases.filter((c) -> not c.skip)
+  return notSkipped.length > 0
 
 class Runner
   constructor: (@client, options={}) ->


  teardownSuite: (suite, callback) ->
    debug 'teardown suite', "\"#{suite.name}\""
    # FIXME: also remove the graph. Ideally using a 'destroy' message in FBP protocol
    protocol.stopNetwork @client, @currentGraphId, (err) =>
      return callback err


  setupSuite: (suite, callback) ->
    debug 'setup suite', "\"#{suite.name}\""
    return callback null if not needsSetup suite

    getFixtureGraph this, suite, (err, graph) =>
      return callback err if err
