Created
December 27, 2011 13:11
-
-
Save cvshepherd/1523619 to your computer and use it in GitHub Desktop.
Minitap issue with puts in tested method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitap' | |
MiniTest::Unit.runner = MiniTest::TapJ.new | |
require 'minitest/autorun' | |
require 'active_support/core_ext' # why do i have to require this? | |
class TestThis < MiniTest::Unit::TestCase | |
def my_method | |
puts "this will break tapout because of malformed output" | |
true | |
end | |
def test_broken | |
assert my_method | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"type":"suite","start":"2011-12-27 14:08:46","count":1,"seed":12262,"rev":3} | |
{"type":"case","subtype":"","label":"TestThis","level":0} | |
this will break tapout because of malformed output | |
{"type":"test","subtype":"","status":"pass","label":"test_broken","time":0.000294929} | |
{"type":"final","time":0.000395902,"counts":{"total":1,"pass":1,"fail":0,"error":0,"omit":0,"todo":0}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment