Sha256: 7b461108bd2d2b72f402752ef3eef01d0ee01c1126187f7f48e8241016254fd0

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

Stored size: 463 Bytes

Contents

require 'minitest/unit'
require 'turn'

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_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

3 entries across 3 versions & 2 rubygems

Version Path
openlogic-turn-0.8.2 demo/test_autorun_minitest.rb
turn-0.8.1 demo/test_autorun_minitest.rb
turn-0.8.0 demo/test_autorun_minitest.rb