Sha256: 5892c0f081497ab15513554d027b63a63395f29697e89069975db1f67503f0c3
Contents?: true
Size: 502 Bytes
Versions: 2
Compression:
Stored size: 502 Bytes
Contents
require "minitest/autorun" class Foo def raises raise "blah" end end class FooTest < Minitest::Test def test_pass assert true end def test_skip skip "nope" end if ENV["BAD"] then # allows it to pass my CI but easy to demo def test_fail flunk "write tests or I will kneecap you" end def test_error Foo.new.raises end def assert_bad_thingy Foo.new.raises end def test_indirect_error assert_bad_thingy end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minitest-autotest-1.1.1 | test/test_minitest/test_autorun.rb |
minitest-autotest-1.1.0 | test/test_minitest/test_autorun.rb |