This code works for me. Does it work for you?
require 'test/unit' require 'test/unit/ui/console/testrunner' class MyTestClass < Test::Unit::TestCase def test_something assert_nothing_raised do p 'hi' end end end Test::Unit::UI::Console::TestRunner.run(MyTestClass)
I think you are using assert_nothing_raised correctly. Try replacing
@board.make_move(0,0,Board::HUMAN)
with something simpler like
p 'hi'
and see if that works. Also try commenting out all the other code in your test.
source share