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-3.0.0.rc3 unittests/other/testcase_verify_test.rb
watir-3.0.0.rc2 unittests/other/testcase_verify_test.rb
watir-3.0.0.rc1 unittests/other/testcase_verify_test.rb
watir-2.0.4 unittests/other/testcase_verify_test.rb
watir-2.0.3 unittests/other/testcase_verify_test.rb
watir-2.0.2 unittests/other/testcase_verify_test.rb
watir-2.0.2.rc1 unittests/other/testcase_verify_test.rb
watir-2.0.1 unittests/other/testcase_verify_test.rb
watir-2.0.0 unittests/other/testcase_verify_test.rb
watir-2.0.0.rc3 unittests/other/testcase_verify_test.rb
watir-2.0.0.rc2 unittests/other/testcase_verify_test.rb
watir-1.9.2 unittests/other/testcase_verify_test.rb
watir-1.9.2.rc1 unittests/other/testcase_verify_test.rb
watir-1.9.1 unittests/other/testcase_verify_test.rb
watir-1.9.1.rc1 unittests/other/testcase_verify_test.rb
watir-1.9.0 unittests/other/testcase_verify_test.rb
watir-1.9.0.rc7 unittests/other/testcase_verify_test.rb
watir-1.9.0.rc6 unittests/other/testcase_verify_test.rb
watir-1.9.0.rc5 unittests/other/testcase_verify_test.rb
watir-1.9.0.rc4 unittests/other/testcase_verify_test.rb