Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > test/unit/testcaseライブラリ > Test::Unit::Errorクラス > new

singleton method Test::Unit::Error.new

new(test_name, exception)

Creates a new Error with the given test_name and exception.