Sha256: 3ede94b16936094528de873e272887ef16332619db6ed5048da1fa70b3fb3ce0

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

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

require 'watir-classic/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

1 entries across 1 versions & 1 rubygems

Version Path
watir-classic-3.0.0 unittests/other/testcase_verify_test.rb