title: How to use verify in ruby test unit
body: <p>So I always written scripts using perl
  but making an attempt with Ruby, so this question may sound real silly but ill make a  go.</p>
  
  <p>I am writing Selenium Webdriver scripts in ruby Test::Unit
  Below is some sample code.</p>
  
  <pre><code> def test_runit
      @driver.get(@base_url + "/")
      @driver.find_element(:id, "gbqfq").clear
      @driver.find_element(:id, "gbqfq").send_keys "selenium"
      @driver.find_element(:id, "gbqfb").click
      @driver.find_element(:link, "Selenium - Web Browser Automation").click
      assert(@driver.find_element(:tag_name =&gt; "body").text.include?("administration tasks"),"the assert works")
      @driver.find_element(:link, "Support").click
    end
  </code></pre>
  
  <p>With an output</p>
  
  <pre><code> ruby runit.rb 
  Loaded suite runit
  Started
  .
  Finished in 9.732149 seconds.
  
  1 tests, 2 assertions, 0 failures, 0 errors
  </code></pre>
  
  <p>While testing I need to check if text is present on the page.
  Using <code>assert</code> works just fine.
  But if it fails the test ends there and there and does not proceed any further.</p>
  
  <p>In perl I could you some thing like  <code>verify</code> which basically marks something as failed and proceed ahead.</p>
  
  <p>I am hoping to get a result like this </p>
  
  <pre><code>ruby runit.rb 
  Loaded suite runit
  Started
  .
  Finished in 9.732149 seconds.
  
  1 tests, 1 assertion, 1 failure, 0 errors
  </code></pre>
  
  <p>But verify does not work for ruby test Unit or may be i am doing it wrong.</p>
  
  <p>Can some one point me to some sample code? 
  thanks</p>