# File lib/spork/runner.rb, line 55
    def run
      return false unless test_framework = find_test_framework
      ENV["DRB"] = 'true'
      @error.puts "Using #{test_framework.short_name}"
      @error.flush

      case
      when options[:bootstrap]
        test_framework.bootstrap
      when options[:diagnose]
        require 'spork/diagnoser'
        
        Spork::Diagnoser.install_hook!(test_framework.entry_point)
        test_framework.preload
        Spork::Diagnoser.output_results(@output)
        return true
      else
        Spork.using_spork!
        run_strategy = Spork::RunStrategy.factory(test_framework)
        return(false) unless run_strategy.preload
        Spork::Server.run(:port => @options[:port] || test_framework.default_port, :run_strategy => run_strategy)
        return true
      end
    end