Sha256: 86b5d4dcbac7789dbd7fef1faef1991231f6702029c8182e0ac259b04803720e
Contents?: true
Size: 332 Bytes
Versions: 3
Compression:
Stored size: 332 Bytes
Contents
require "minitest/autorun" 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 raise "nope" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
minitest-autotest-1.0.3 | test/test_minitest/test_autorun.rb |
minitest-autotest-1.0.2 | test/test_minitest/test_autorun.rb |
minitest-autotest-1.0.1 | test/test_minitest/test_autorun.rb |