Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (30 sloc) 0.613 kB
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
class SampleCase2 < Test::Unit::TestCase
def test_sample_pass1
assert_equal(1,1)
end
def test_sample_pass2
assert_equal(1,1)
end
end
class EmptyCase < Test::Unit::TestCase
end
Jump to Line
Something went wrong with that request. Please try again.