D
David A. Black
Hi --
I feel like a lamb to the slaughter, since I'm almost certainly doing
something obviously wrong, but I'm having trouble understanding why
I'm not getting any output from this:
require 'minitest/unit'
class TestMe < MiniTest::Unit::TestCase
def test_something
assert(true)
end
end
Here's what happens when I run it with a recent 1.9:
david-blacks-macbook:hacking dblack$ ruby mini.rb
david-blacks-macbook:hacking dblack$
In other words, nothing. If I change mini to test, it does this:
david-blacks-macbook:hacking dblack$ ruby mini.rb
Loaded suite mini
Started
I feel like a lamb to the slaughter, since I'm almost certainly doing
something obviously wrong, but I'm having trouble understanding why
I'm not getting any output from this:
require 'minitest/unit'
class TestMe < MiniTest::Unit::TestCase
def test_something
assert(true)
end
end
Here's what happens when I run it with a recent 1.9:
david-blacks-macbook:hacking dblack$ ruby mini.rb
david-blacks-macbook:hacking dblack$
In other words, nothing. If I change mini to test, it does this:
david-blacks-macbook:hacking dblack$ ruby mini.rb
Loaded suite mini
Started