After installing Mocha, unit-tests became buggy -- if test got some exceptions, testing stopped running at all.
After some investigations, we found that Mocha handles not all exceptions handled by standard Test::Unit::TestCase.
So, standard one handles using list Test::Unit::TestCase::PASSTHROUGH_EXCEPTIONS, but Mocha handles StandardError,
ScriptError only.
So, Mocha would use the same list as standard Test::Unit::TestCase.
Patch is attached. |