# File lib/autotest.rb, line 115
  def self.autodiscover
    require 'rubygems'
    begin
      require 'win32console' if WINDOZE
    rescue LoadError
    end

    with_current_path_in_load_path do
      # search load paths for autotest/discover.rb and load em all
      Gem.find_files("autotest/discover").each do |f|
        load f
      end
    end

    #call all discover procs an determine style
    @@discoveries.map{ |proc| proc.call }.flatten.compact.sort.uniq
  end