Sha256: a0d6068e8aa9423c63eeb58ac7be65c8f867c25bcf429632d17139becf5a8ed9

Contents?: true

Size: 452 Bytes

Versions: 41

Compression:

Stored size: 452 Bytes

Contents

# 3 tests, 10 assertions, 4 failures, 0 errors

require 'watir/testcase'

class VerifyTests < Watir::TestCase
  
  def test_verify
    verify true
    assert true
    verify false
    assert true
  end
  
  def test_verify_equal
    verify_equal 1, 1
    verify_equal 1, 2
    verify_equal 3, 4
  end
  
  def test_verify_match
    verify_match /\d*/, '123'
    verify_match 'foo', 'foobar'
    verify_match '...', 'A'
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
watir-1.5.5 unittests/other/testcase_verify_test.rb