From: Robert Feldt Date: 2000-06-12T17:52:29+02:00 Subject: [ruby-talk:03311] RubyUnit assert_raiseexception Hi, Is there a better way in RubyUnit to check that a method raises an exception than doing: assert( begin myPotentiallyExceptionRaisingMethod(arg) false rescue true end ) ? If not I propose that assert_raisesexception() is added to RubyUnit. Or have anyone found a better way to accomplish this? Regards, Robert