Sha256: d233e397adda5c17793598f50d1960e6a753c0785d05b924d0aa24e8a689c276
Contents?: true
Size: 507 Bytes
Versions: 4
Compression:
Stored size: 507 Bytes
Contents
require 'minitest/unit' require 'turn' Turn.config do |c| c.natural = true end class SampleCase1 < MiniTest::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_includes(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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
turn-0.9.2 | try/test_autorun_minitest.rb |
turn-0.9.1 | try/test_autorun_minitest.rb |
turn-0.9.0 | try/test_autorun_minitest.rb |
turn-0.8.3 | demo/test_autorun_minitest.rb |