修正後。 require "test/unit" class RubycoTest < Test::Unit::TestCase def test_rubyco testval = "Expected" assert_equal "Expected", testval, "Simple string test." end def test_rubycoadd z = 3 + 4 assert_equal 7, z, "Simple '+' test." end end実行すると。 Loaded suite rubyco Started .. Finished in 0.0 seconds. 2 tests, 2 assertions, 0 failures, 0 errors