title: Why do Test::Unit testcases start up so slowly?
body: <pre><code>&gt;rails -v
  Rails 1.2.6
  
  &gt;ruby -v
  ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
  </code></pre>
  
  <p>When I run a test fixture (that tests a rails model class) like this, it takes 20-30 secs to start executing these tests (show the "Loaded suite..."). What gives?</p>
  
  <pre><code>&gt;ruby test\unit\category_test.rb
  
  require File.dirname(__FILE__) + '/../test_helper'
  
  class CategoryTest &lt; Test::Unit::TestCase
      def setup
          Category.delete_all
      end
      def test_create
          obCategoryEntry = Category.new({:name=&gt;'Apparel'})
          assert obCategoryEntry.save, obCategoryEntry.errors.full_messages.join(', ')
          assert_equal 1, Category.count
  
          assert_not_nil Category.find(:all, :conditions=&gt;"name='Apparel'")
      end
      #.. 1 more test here
  end
  </code></pre>
  
  <p>This one is Rails using a MySql DB with no fixtures. This time it clocked 30secs+ to startup. </p>