Sha256: 3aa745fc122107352c501cc55a9bf450000ef8862803ad839ca21c41a51d7a04

Contents?: true

Size: 455 Bytes

Versions: 8

Compression:

Stored size: 455 Bytes

Contents

require 'test/unit'
require 'turn'

class SampleCase1 < Test::Unit::TestCase
  def test_sample_pass1
    assert_equal(1,1)
  end
  def test_sample_pass2
    assert_equal(2,2)
  end

  def test_sample_fail1
    assert_equal(1,2)
  end
  def test_sample_fail2
    assert_include(1,[])
  end

  def test_sample_error1
    raise StandardError, "Raised exception!"
  end
  def test_sample_error2
    raise StandardError, "Raised another exception!"
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
turn-0.9.2 try/test_autorun_testunit.rb
turn-0.9.1 try/test_autorun_testunit.rb
turn-0.9.0 try/test_autorun_testunit.rb
turn-0.8.3 demo/test_autorun_testunit.rb
turn-0.8.2 demo/test_autorun_testunit.rb
openlogic-turn-0.8.2 demo/test_autorun_testunit.rb
turn-0.8.1 demo/test_autorun_testunit.rb
turn-0.8.0 demo/test_autorun_testunit.rb