title: Unable to pass ARGV through Test Unit (ruby)
body: <p>I'm running automation tests with watir-webdriver.
  I am not able to pass command line arguments ARGV through test unit, I get an ArgumentError.</p>
  
  <pre><code>require 'rubygems'
  require 'watir-webdriver'
  require 'test/unit'    
  ARGV.each do |arg|
          if arg.downcase.include? 'chrome'
              $browser = 'chrome'
          elsif arg.downcase.include? 'firefox'
              $browser = 'firefox'
          elsif arg.downcase.include? 'ff'
              $browser = 'firefox'
          elsif arg.downcase.include? 'ie'
              $browser = 'ie'
          end
      end
  
  class TEST_SITE &lt; Test::Unit::TestCase
     def setup
       if $browser == 'chrome'
          $b = Watir::Browser.new :chrome
       elsif $browser == 'firefox'
          $b = Watir::Browser.new :ff
       elsif $browser == 'ie'
          $b = Watir::Browser.new :ie
       end
    end
  end
  </code></pre>
  
  <p>Is there another option or somehow override the test unit class?</p>